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