wok-tiny rev 129
linux: fix bundle build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 17 18:51:03 2017 +0200 (2017-08-17) |
parents | 395df81fd01f |
children | 502f4a0181d9 |
files | linux/stuff/bundle |
line diff
1.1 --- a/linux/stuff/bundle Thu Apr 13 19:09:32 2017 +0200 1.2 +++ b/linux/stuff/bundle Thu Aug 17 18:51:03 2017 +0200 1.3 @@ -24,10 +24,10 @@ 1.4 } 1.5 1.6 #install-begin 1.7 - cp $0 $0.sh 1.8 - gzip -9 < bundle.bin | uuencode -m - | \ 1.9 - sed -e '/^bundle.bin$/r/dev/stdin' -e '/^bundle.bin*/d' \ 1.10 - -e '/install-begin$/,/install-end$/d' -i $0.sh 1.11 + sed '1,/^bundle.bin$/!d' $0 > $0.sh 1.12 + gzip -9 < bundle.bin | uuencode -m - >> $0.sh 1.13 + sed '1,/^bundle.bin$/d' $0 >> $0.sh 1.14 + sed -i -e '/^bundle.bin$/d' -e '/install-begin$/,/install-end$/d' $0.sh 1.15 chmod +x $0.sh 1.16 exit 1.17 #install-end