ports/cad/openscad/patches/patch-scripts_translation-update_sh

14 lines
422 B
Text

OpenBSD does not have unlink in base
Index: scripts/translation-update.sh
--- scripts/translation-update.sh.orig
+++ scripts/translation-update.sh
@@ -100,7 +100,7 @@ updatemo()
# clean the mess
for LANGCODE in `cat locale/LINGUAS | grep -v "#"`; do
- unlink ./locale/$LANGCODE/LC_MESSAGES/$LANGCODE.mo
+ rm ./locale/$LANGCODE/LC_MESSAGES/$LANGCODE.mo
done
else
if [ x"$(uname -s)" = x"Linux" ]; then