Commit 93cc744d authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

fix variable check

:? returns the var if defined or errors if undefined. so we need to
assign the output back into the var, otherwise we'd try to implicitly
run the content of the variable (and that is a dir so it makes zero
sense - plus is not what is intended here anyway)
parent e891b920
Pipeline #168453 passed with stage
in 3 minutes and 38 seconds
......@@ -5,7 +5,7 @@
# Our l10n scripting isn't working with spaces anywhere and we actively rely on word splitting in our
# shellcheck disable=SC2046
${podir:?} # ensure it is defined
podir=${podir:?} # ensure it is defined
$XGETTEXT $(find . -name \*.cpp -o -name \*.h) -o "$podir"/drkonqi5.pot
# Extract JavaScripty files as what they are, otherwise for example template literals won't work correctly (by default we extract as C++).
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment