Name | Modified | Size | Downloads / Week |
---|---|---|---|
Help-Files | 2023-11-30 | ||
README.txt | 2023-11-24 | 1.5 kB | |
cfg-template | 2023-11-24 | 521 Bytes | |
bin.sh | 2023-11-24 | 1.4 kB | |
vfy.sh | 2023-11-24 | 2.6 kB | |
bud.sh | 2023-11-24 | 710 Bytes | |
cfg.sh | 2023-11-24 | 3.3 kB | |
arc.sh | 2023-11-24 | 1.4 kB | |
lib.sh | 2023-11-24 | 3.9 kB | |
exe.sh | 2023-11-24 | 3.1 kB | |
Totals: 10 Items | 18.4 kB | 0 |
Create a new directory /nxt. mkdir -p /nxt/.archive Copy/install the shell scripts. cp {arc,bin,bud,cfg,exe,lib,vfy}.sh /nxt Copy/install the configuration template. cp cfg-template /nxt Put tarballs in archive. mkdir /nxt/.archive; cp *.tar.gz /nxt/.archive Now check: cd /nxt && ./exe.sh -l If nothing happens... check that /dev/stdout and /dev/stderr are links to /proc/self/fd/{1,2} also check that /nxt/.archive contains relevant tarballs ./exe.sh -Z You can make a self-test for this program... mkdir /tmp/test-123 echo 'touch Makefile' > /tmp/test-123/configure && chmod u+x /tmp/test-123/configure cd /nxt/archive && tar -C /tmp -czvf test-123.tar.gz test-123 Check the self-test... cd /nxt ./exe.sh -bacCBA tst test | bash This should create a directory called /nxt/tst/tst-test/, the contents of which is: /nxt/tst/tst-test/: test-123/ a0-test/ a0-tst-test.tar.gz cfg-test test-123/: configure a0-test/: Makefile If you want to modify the self-test... mkdir -p /t5t/.archive cp {arc,bin,bud,cfg,exe,lib,vfy}.sh cfg-template /t5t cp cfg-template /t5t cp .archive/test-123.tar.gz /t5t/.archive Modify lib.sh so that there is only one group and package in the system: change to tst: test Modify cfg.sh so that cfg adds custom ./configure --options to your build Modify exe.sh so that the -mtst option will work... HMM-DRU-END