Changed output file name extension to .shbin (to prevent web servers from stopping...
authorMarco Zanon <info@marcozanon.com>
Wed, 12 Sep 2012 13:44:34 +0000 (13:44 +0000)
committerMarco Zanon <info@marcozanon.com>
Wed, 12 Sep 2012 13:44:34 +0000 (13:44 +0000)
0.x/build.sh

index e6c2bf51c0bc1b0c36339e9370e8eaae585e44b9..d2b88bf341254c4d9ba0b7552a03d58d70a5f6d3 100755 (executable)
@@ -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