cd to PLUGIN_IN for cleaner file paths
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-08-27 10:57:56 -04:00
parent 85528b591a
commit d16b671a47
+3 -1
View File
@@ -9,12 +9,14 @@ PLUGIN_KEYWORD=${PLUGIN_KEYWORD:-gotext.Get}
run_xgettext_cmd() {
echo "--- start command ---"
cd "$PLUGIN_IN" || exit 1
# shellcheck disable=SC2046
xgettext-go \
-o "$PLUGIN_OUT" \
--keyword="$PLUGIN_KEYWORD" \
--sort-output \
$(find "$PLUGIN_IN" -name "*.go" -not -path '*vendor*')
$(find . -name "*.go" -not -path '*vendor*')
echo "--- end command ---"
}