mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5566
This commit is contained in:
parent
e2826c6190
commit
4b579b17f1
|
@ -29,15 +29,13 @@ fi
|
|||
if [ `uname` = "Linux" ]; then
|
||||
compress=gzip
|
||||
expand=gunzip
|
||||
tail_cmd=tail -n +4
|
||||
else
|
||||
compress=compress
|
||||
expand=uncompress
|
||||
tail_cmd=tail +4
|
||||
fi
|
||||
|
||||
echo '#!/bin/sh
|
||||
$tail_cmd < "$0" | '$expand' | tar xf - && /bin/sh '"$install $*"'
|
||||
( read l; read l; read l; exec cat ) < "$0" | '$expand' | tar xf - && /bin/sh '"$install $*"'
|
||||
exit' > "$filename" &&
|
||||
$compress < "$1" >> "$filename" &&
|
||||
chmod +x "$filename"
|
||||
|
|
Loading…
Reference in New Issue