OS X framework: fix invalid symbolic link
authorRenaud Guillard <dev@nore.fr>
Thu, 9 May 2013 15:31:56 +0000 (17:31 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 May 2013 19:51:35 +0000 (21:51 +0200)
MacOSX-Framework

index 4b2c178..9863b78 100755 (executable)
@@ -103,7 +103,7 @@ if test ! -z $SDK32; then
   ln -fs ${FRAMEWORK_VERSION}/Resources Resources
   ln -fs ${FRAMEWORK_VERSION}/Headers Headers
   cd Versions
-  ln -fs ${FRAMEWORK_VERSION} Current
+  ln -fs $(basename "${FRAMEWORK_VERSION}") Current
 
   echo Testing for SDK64
   if test -d $SDK64_DIR; then