fix tx-push script to work with GNU mktemp
This commit is contained in:
parent
b9102b44e2
commit
087b9e98ff
@ -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/"
|
||||||
|
Loading…
Reference in New Issue
Block a user