pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/openscad openscad: Use rm instead of unlink.
details: https://anonhg.NetBSD.org/pkgsrc/rev/862a1d3fac53
branches: trunk
changeset: 458913:862a1d3fac53
user: nia <nia%pkgsrc.org@localhost>
date: Thu Sep 23 18:38:35 2021 +0000
description:
openscad: Use rm instead of unlink.
diffstat:
cad/openscad/distinfo | 3 ++-
cad/openscad/patches/patch-scripts_translation-update.sh | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 47230d294a94 -r 862a1d3fac53 cad/openscad/distinfo
--- a/cad/openscad/distinfo Thu Sep 23 18:37:48 2021 +0000
+++ b/cad/openscad/distinfo Thu Sep 23 18:38:35 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2021/04/08 10:26:08 bouyer Exp $
+$NetBSD: distinfo,v 1.12 2021/09/23 18:38:35 nia Exp $
SHA1 (openscad-2021.01.tar.gz) = 4dce768db6ba1f95b0b10e9c53b3b8cd7318d11d
RMD160 (openscad-2021.01.tar.gz) = 4ee2d86c8b2d56bedaef49eeed38765844e2cf60
@@ -6,5 +6,6 @@
Size (openscad-2021.01.tar.gz) = 15656800 bytes
SHA1 (patch-features_qscintilla2-priv.prf) = ca5d5735d091441d6daf7535802f5ba7362c808c
SHA1 (patch-openscad.pro) = 55e97368d2fdd77c8a4773699cfffdaccd65d63f
+SHA1 (patch-scripts_translation-update.sh) = 24929df617e450558934e46b1711f241945da7eb
SHA1 (patch-src_colormap.h) = d218a17ac71e0178d32b79723b532c9f098bc038
SHA1 (patch-src_scintillaeditor.h) = 47d2cde8d7349a23770c549e5df9b219678825e9
diff -r 47230d294a94 -r 862a1d3fac53 cad/openscad/patches/patch-scripts_translation-update.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/openscad/patches/patch-scripts_translation-update.sh Thu Sep 23 18:38:35 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-scripts_translation-update.sh,v 1.1 2021/09/23 18:38:35 nia Exp $
+
+Use unlink instead of rm - more likely to be available in $PATH...
+
+--- scripts/translation-update.sh.orig 2021-01-31 17:41:09.000000000 +0000
++++ 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 -f ./locale/$LANGCODE/LC_MESSAGES/$LANGCODE.mo
+ done
+ else
+ if [ x"$(uname -s)" = x"Linux" ]; then
Home |
Main Index |
Thread Index |
Old Index