[44769] contrib/select

raimue at macports.org raimue at macports.org
Fri Jan 2 18:02:18 PST 2009


Revision: 44769
          http://trac.macports.org/changeset/44769
Author:   raimue at macports.org
Date:     2009-01-02 18:02:18 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
select:
Use ln -n instead of ln -h for compatibility with GNU ln, fixes #17847

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

Modified: contrib/select/configure
===================================================================
--- contrib/select/configure	2009-01-03 02:00:09 UTC (rev 44768)
+++ contrib/select/configure	2009-01-03 02:02:18 UTC (rev 44769)
@@ -2,7 +2,7 @@
 rm -f Makefile
 
 # some defaults
-version=0.2
+version=0.2.1
 prefix=/usr/local
 mandir=${prefix}/share/man
 name=gcc

Modified: contrib/select/select.sh
===================================================================
--- contrib/select/select.sh	2009-01-03 02:00:09 UTC (rev 44768)
+++ contrib/select/select.sh	2009-01-03 02:02:18 UTC (rev 44769)
@@ -105,9 +105,9 @@
         fi
     elif [ "ln" == "${1}" ]; then
         if [ 1 == "${noexec}" ]; then
-            echo "ln -shf ${2} ${3}"
+            echo "ln -snf ${2} ${3}"
         else
-            ln -shf ${2} ${3}
+            ln -snf ${2} ${3}
         fi
     else
         return 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090102/1e95b436/attachment.html>


More information about the macports-changes mailing list