translation-update-upstream/translation-update-upstream-embedded.patch

20 lines
613 B
Diff

--- translation-update-upstream-embedded.sh 2020-01-22 22:19:22.911348880 +0100
+++ translation-update-upstream-embedded.sh 2020-01-22 22:39:26.134577525 +0100
@@ -85,6 +85,7 @@
USE_INTLTOOL=true
fi
fi
+BASE_DIR=$PWD
DIR=${1:-po}
if test -z "$3" ; then
@@ -259,7 +260,7 @@
echo "WARNING: Missing $DOMAIN in translation-update-upstream configuration! No updates available."
fi
else
- echo "ERROR: Package translation-update-upstream is not installed. Please update your BuildRequires!"
+ echo "ERROR: Incorrect use of translation-update-upstream-embedded!"
exit 1
fi
fi