summaryrefslogtreecommitdiffstats
path: root/contrib/local
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-06-20 19:53:21 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-06-20 19:53:21 (GMT)
commit794575f01ce5a6bf7e377eb815f3def5aded74f5 (patch)
tree9c59df64ee290f68b7b6c8698bfac4169684485e /contrib/local
parentd304f85417e3175c5f2ca159dd303309c24e7b81 (diff)
downloaduscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.zip
uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.tar.gz
uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.tar.bz2
New version with XHTML invoker
Diffstat (limited to 'contrib/local')
-rwxr-xr-xcontrib/local/compress_and_upload_deps.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/local/compress_and_upload_deps.sh b/contrib/local/compress_and_upload_deps.sh
index ae53c7f..3cc9684 100755
--- a/contrib/local/compress_and_upload_deps.sh
+++ b/contrib/local/compress_and_upload_deps.sh
@@ -9,9 +9,11 @@ CWD=`pwd`
cd $DIR
if [ "$USCXML_PREBUILT_HOST" == "" ]; then
- USCXML_PREBUILT_HOST="admin@uscxml.tk.informatik.tu-darmstadt.de:/var/www/html/uscxml/prebuilt"
+ USCXML_PREBUILT_HOST="admin@uscxml.tk.informatik.tu-darmstadt.de"
fi
+USCXML_PREBUILT_PATH="/var/www/html/uscxml/prebuilt"
+
if [ "$1" == "" ] || [ "$2" == "" ]; then
echo "$ME <prebuilt dir> <version>"
exit
@@ -26,13 +28,15 @@ VERSION=$2
cd ../prebuilt
+ssh ${USCXML_PREBUILT_HOST} mkdir -p ${USCXML_PREBUILT_PATH}/${VERSION}
+
PLATFORMS=`find . -maxdepth 1 -type d -regex ./[^\.].*`
for FILE in ${PLATFORMS}; do
PLATFORM=`basename $FILE`
if [ "$PLATFORM" != "include" ]; then
echo $FILE
tar cvzf uscxml-prebuilt-${PLATFORM}.tgz ${FILE}
- scp uscxml-prebuilt-${PLATFORM}.tgz ${USCXML_PREBUILT_HOST}/${VERSION}
+ scp uscxml-prebuilt-${PLATFORM}.tgz ${USCXML_PREBUILT_HOST}:${USCXML_PREBUILT_PATH}/${VERSION}
rm uscxml-prebuilt-${PLATFORM}.tgz
fi
done \ No newline at end of file