summaryrefslogtreecommitdiff
path: root/scripts/builder.sh
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-05-16 00:33:55 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-05-16 00:33:55 (GMT)
commit602b529e9f737c940c7dad194d4e199f43c8bed9 (patch)
treec01b83525bfa8fa1ba4000367f6aeb3394998652 /scripts/builder.sh
parent2e758fcc82a8a06152f5e89ec9295783b3e889fe (diff)
fix bug in dryrun settings
Diffstat (limited to 'scripts/builder.sh')
-rwxr-xr-xscripts/builder.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/builder.sh b/scripts/builder.sh
index e0bb608..5b3835b 100755
--- a/scripts/builder.sh
+++ b/scripts/builder.sh
@@ -16,7 +16,7 @@
#
# todo - detect failure and stop
-dryrun=
+DRYRUN=
check_starting_path()
{
@@ -60,7 +60,7 @@ upload_win_generic()
opts="$opts -p openscad"
opts="$opts -u $2"
opts="$opts $3"
- if [ ! dryrun ]; then
+ if [ ! $DRYRUN ]; then
python ./scripts/googlecode_upload.py -s "$1" $opts
else
echo dry run, not uploading to googlecode
@@ -113,7 +113,7 @@ read_password_from_user()
update_www_download_links()
{
cd $STARTPATH
- git clone http://github.com/openscad/openscad.github.com.git
+ git clone git@github.com:openscad/openscad.github.com.git
cd openscad.github.com
cd inc
echo `pwd`
@@ -130,8 +130,8 @@ update_www_download_links()
echo 'modified win_snapshot_links.js'
cat win_snapshot_links.js
- git diff
- if [ ! dryrun ]; then
+ PAGER=cat git diff
+ if [ ! $DRYRUN ]; then
git commit -a -m 'builder.sh - updated snapshot links'
git push origin
else
contact: Jan Huwald // Impressum