Make "make depend" work on MacOS out of the box.
[openssl.git] / util / point.sh
index 47543c8..da39899 100755 (executable)
@@ -1,6 +1,10 @@
 #!/bin/sh
 
-rm -f $2
-ln -s $1 $2
+rm -f "$2"
+if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw ; then
+    cp "$1" "$2"
+else
+    ln -s "$1" "$2"
+fi
 echo "$2 => $1"