[43711] contrib/select/select.sh

raimue at macports.org raimue at macports.org
Sat Dec 13 17:01:02 PST 2008


Revision: 43711
          http://trac.macports.org/changeset/43711
Author:   raimue at macports.org
Date:     2008-12-13 17:01:02 -0800 (Sat, 13 Dec 2008)
Log Message:
-----------
select:
Correctly overwrite symlinks pointing to directories, see #17205

Modified Paths:
--------------
    contrib/select/select.sh

Modified: contrib/select/select.sh
===================================================================
--- contrib/select/select.sh	2008-12-14 00:56:13 UTC (rev 43710)
+++ contrib/select/select.sh	2008-12-14 01:01:02 UTC (rev 43711)
@@ -113,9 +113,9 @@
 		fi
 	elif [ "ln" == "${1}" ]; then
 		if [ 1 == "${noexec}" ]; then
-			echo "ln -sf ${2} ${3}"
+			echo "ln -shf ${2} ${3}"
 		else
-			ln -sf ${2} ${3}
+			ln -shf ${2} ${3}
 		fi
 	else
 		return 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081213/788104db/attachment.html>


More information about the macports-changes mailing list