projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5285da
)
Remove messages.po if it does exist :-)
author
Philipp
<admin@philipp.info>
Mon, 4 Oct 2021 09:58:07 +0000
(11:58 +0200)
committer
Philipp
<admin@philipp.info>
Mon, 4 Oct 2021 09:58:25 +0000
(11:58 +0200)
bin/run_xgettext.sh
patch
|
blob
|
history
diff --git
a/bin/run_xgettext.sh
b/bin/run_xgettext.sh
index 427325e027985f026cc9df531a74b566f32f53d8..3254524684b439b40104dacf8562bc8f3246a93a 100755
(executable)
--- a/
bin/run_xgettext.sh
+++ b/
bin/run_xgettext.sh
@@
-69,7
+69,7
@@
esac
KEYWORDS="-k -kt -ktt:1,2"
echo "Extract strings to $OUTFILE.."
-rm "$OUTFILE"; touch "$OUTFILE"
+
[ -f "$OUTFILE" ] &&
rm "$OUTFILE"; touch "$OUTFILE"
# shellcheck disable=SC2086 # $FINDOPTS is meant to be split
find_result=$(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f | LC_ALL=C sort --stable)