fix tx-push script to work with GNU mktemp

This commit is contained in:
Martin Zimmermann 2014-04-23 10:24:29 +02:00
parent b9102b44e2
commit 087b9e98ff

View File

@ -16,7 +16,7 @@ set user (cat ~/.transifexrc | grep -E "^username" | awk -F " ?= ?" '{ print $2
set pass (cat ~/.transifexrc | grep -E "^password" | awk -F " ?= ?" '{ print $2 }') set pass (cat ~/.transifexrc | grep -E "^password" | awk -F " ?= ?" '{ print $2 }')
set lang (echo $argv | cut -d / -f 5 | cut -d . -f 1) set lang (echo $argv | cut -d / -f 5 | cut -d . -f 1)
set trans (mktemp -t tx) set trans (mktemp -t tx.XXX)
if [ $lang = "en" ] if [ $lang = "en" ]
set url "$TRANSIFEX/project/isso/resource/js/content/" set url "$TRANSIFEX/project/isso/resource/js/content/"