There was an error while loading. Please reload this page.
1 parent 9dd60e4 commit da0d923Copy full SHA for da0d923
1 file changed
scripts/update_ts.sh
@@ -21,7 +21,7 @@ pull|push|update)
21
;;
22
23
*)
24
- echo "usage: $(basename $0) {push|pull|update} builddirectory"
+ echo "usage: $(basename $0) {pull|{push|update} builddirectory}"
25
exit 1
26
esac
27
@@ -72,8 +72,8 @@ if ! type tx >/dev/null 2>&1; then
72
73
fi
74
75
-builddir=$(realpath $2)
76
-if [ -d "$builddir" ]; then
+if [ -d "$2" ]; then
+ builddir=$(realpath $2)
77
textcpp=
78
for i in $builddir/src/core/qgsexpression_texts.cpp $builddir/src/core/qgscontexthelp_texts.cpp; do
79
if [ -f $i ]; then
0 commit comments