Skip to content

Commit da0d923

Browse files
committed
fix 5ff6b14 (followup 00f8eff)
1 parent 9dd60e4 commit da0d923

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/update_ts.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pull|push|update)
2121
;;
2222

2323
*)
24-
echo "usage: $(basename $0) {push|pull|update} builddirectory"
24+
echo "usage: $(basename $0) {pull|{push|update} builddirectory}"
2525
exit 1
2626
esac
2727

@@ -72,8 +72,8 @@ if ! type tx >/dev/null 2>&1; then
7272
exit 1
7373
fi
7474

75-
builddir=$(realpath $2)
76-
if [ -d "$builddir" ]; then
75+
if [ -d "$2" ]; then
76+
builddir=$(realpath $2)
7777
textcpp=
7878
for i in $builddir/src/core/qgsexpression_texts.cpp $builddir/src/core/qgscontexthelp_texts.cpp; do
7979
if [ -f $i ]; then

0 commit comments

Comments
 (0)