X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=util%2Fpoint.sh;h=da39899cb19e9c85ce58b1da5f9214fda81a742f;hb=115d528c232a16b642338502e31b5538f995e41b;hp=ce7dcc56dfa7b4c1e1a78aec27aa83ca10f93923;hpb=451dc18f109e4fff1a642976fee7ae7e64af35dc;p=openssl.git diff --git a/util/point.sh b/util/point.sh index ce7dcc56df..da39899cb1 100755 --- a/util/point.sh +++ b/util/point.sh @@ -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"