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: SVN-to-Git~5 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=cd4ef6949b22a7aa73ddfe342a83481323d823cc;p=single_click_remote_help Changed output file name extension to .shbin (to prevent web servers from stopping the download). --- diff --git a/0.x/build.sh b/0.x/build.sh index e6c2bf5..d2b88bf 100755 --- a/0.x/build.sh +++ b/0.x/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