summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rwxr-xr-xdist/build_all.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/build_all.sh b/dist/build_all.sh
index 9f0306a..33b3e36 100755
--- a/dist/build_all.sh
+++ b/dist/build_all.sh
@@ -23,6 +23,7 @@ buildname=editablesite-$commit
srclocale=$srcbase/locale
dstlocale="$dstbase/$buildname/admin/locale"
archfile=out/$buildname
+installdir=/var/www
export_files $srcbase $dstbase/$buildname <<EOT
./README ./
@@ -50,7 +51,7 @@ do
mo_dir="$dstlocale/"${fname%%.po}.utf8/LC_MESSAGES
[ -d "$mo_dir" ] || mkdir -p "$mo_dir"
- echo msgfmt -o "'$mo_dir/editablesite.mo'" "'$f'"
+ #echo msgfmt -o "'$mo_dir/editablesite.mo'" "'$f'"
msgfmt -o "$mo_dir/editablesite.mo" "$f"
done
@@ -99,5 +100,6 @@ gzip -9 -c $archfile.tar > $archfile.tar.gz
( cd "$dstbase" ; zip -9 -q -r - $buildname/) > $archfile.zip
rm $archfile.tar
-sudo tar -xf $archfile.tar.gz -C /var/www/
+echo "Deploying for test in $installdir"
+sudo tar -xf $archfile.tar.gz -C $installdir