From cd4ef6949b22a7aa73ddfe342a83481323d823cc Mon Sep 17 00:00:00 2001 From: Marco Zanon Date: Wed, 12 Sep 2012 13:44:34 +0000 Subject: [PATCH] Changed output file name extension to .shbin (to prevent web servers from stopping the download). --- 0.x/build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.30.2