Permalink
Browse files

copy-build-to-server - take external info for download destination

Conflicts:
	aquamacs/build/copy-build-to-server.sh
  • Loading branch information...
1 parent 0fe940f commit 48e716041b73994adff40afb5624a2a5d0aedd18 @davidswelt committed Sep 27, 2013
Showing with 5 additions and 3 deletions.
  1. +5 −3 aquamacs/build/copy-build-to-server.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+# AQ_DOWNLOAD_DESTINATION = Sites/Aquamacs has to be set externally
+# AQ_DOWNLOAD_DESTSSH = username@ip
# SSH authentication should be installed
@@ -13,9 +15,9 @@ CHGLOGSCRIPT=~/aquamacs-web/scripts/push-nightly-changelog.sh
SOURCE=`pwd`/builds
LOGPATH=`pwd`
-DEST=dreitter@cc:Sites/Aquamacs
-DESTSSH=dreitter@cc
-DESTPATH=Sites/Aquamacs
+DESTPATH=${AQ_DOWNLOAD_DESTINATION}
+DEST=${AQ_DOWNLOAD_DESTSSH}:${DESTPATH}
+DESTSSH=${AQ_DOWNLOAD_DESTSSH}
TMP=/tmp/builds

0 comments on commit 48e7160

Please sign in to comment.