protect arguments of rm and ln commands with quotes

Wed, 05 Nov 2025 22:39:39 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 05 Nov 2025 22:39:39 +0100
changeset 1473
944f02992369
parent 1472
c48cf649c10f
child 1474
84de0ba791af

protect arguments of rm and ln commands with quotes

resolves #752

make/install-lib-macos.sh file | annotate | diff | comparison | revisions
--- a/make/install-lib-macos.sh	Wed Nov 05 19:45:08 2025 +0100
+++ b/make/install-lib-macos.sh	Wed Nov 05 22:39:39 2025 +0100
@@ -17,5 +17,5 @@
 
 install_name_tool -id "$DST" "$DST"
 
-rm -f $LN_DST
-ln -s $LIBNAME $LN_DST
+rm -f "$LN_DST"
+ln -s "$LIBNAME" "$LN_DST"

mercurial