General TC > Programming & Scripting - Unofficial
Script using installwatch to create file list and package.
vinnie:
I did not know whether to lift the quotation marks and then I did both tests
--- Code: ---...
EXCLUDE=""
...
--- End code ---
--- Code: ---tc@box:~/inst$ bash ./installscript mkdir ~/prova
Tarring files to /tmp/inst/package-inst.tar.gz
tc@box:~/inst$
tc@box:~/inst$ ls -l /tmp/inst/
total 4
-rw-r--r-- 1 tc staff 0 Mar 29 11:10 filelist
-rw-r--r-- 1 tc staff 45 Mar 29 11:10 package-inst.tar.gz
tc@box:~/inst$
tc@box:~/inst$ cat /tmp/inst/filelist
tc@box:~/inst$
--- End code ---
--- Code: ---...
EXCLUDE=
...
--- End code ---
--- Code: ---tc@box:~/inst$ rm -rf /tmp/inst/
tc@box:~/inst$
tc@box:~/inst$ bash ./installscript mkdir ~/prova2
Tarring files to /tmp/inst/package-inst.tar.gz
tc@box:~/inst$
tc@box:~/inst$ ls -l /tmp/inst/
total 4
-rw-r--r-- 1 tc staff 0 Mar 29 11:15 filelist
-rw-r--r-- 1 tc staff 45 Mar 29 11:15 package-inst.tar.gz
tc@box:~/inst$
tc@box:~/inst$ cat /tmp/inst/filelist
tc@box:~/inst$
--- End code ---
There really is something strange
Navigation
[0] Message Index
[*] Previous page
Go to full version