From: Marco Zanon Date: Wed, 12 Sep 2012 13:44:34 +0000 (+0000) Subject: Changed output file name extension to .shbin (to prevent web servers from stopping... X-Git-Tag: 0.5~4 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=9b48f759429bdc605b1fc6957c15ce354fd293ed;p=single_click_remote_help Changed output file name extension to .shbin (to prevent web servers from stopping the download). --- diff --git a/build.sh b/build.sh index e6c2bf5..d2b88bf 100755 --- a/build.sh +++ b/build.sh @@ -7,14 +7,14 @@ S1=`awk '/^__CONFIGURATION_PARAMETERS__/ { print NR - 1; exit 0; }' skeleton` C=`awk '/^__CONFIGURATION_PARAMETERS_BELOW__/ { print NR + 1; exit 0; }' configuration` S2=`awk '/^__CONFIGURATION_PARAMETERS__/ { print NR + 1; exit 0; }' skeleton` -head -n $S1 skeleton > single_click_remote_help.sh -tail -n+$C configuration >> single_click_remote_help.sh -tail -n+$S2 skeleton >> single_click_remote_help.sh +head -n $S1 skeleton > single_click_remote_help.shbin +tail -n+$C configuration >> single_click_remote_help.shbin +tail -n+$S2 skeleton >> single_click_remote_help.shbin tar --directory package/ --exclude-vcs -czf package.tar.gz . -cat package.tar.gz >> single_click_remote_help.sh +cat package.tar.gz >> single_click_remote_help.shbin -chmod 755 single_click_remote_help.sh +chmod 755 single_click_remote_help.shbin rm package.tar.gz