X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=util%2Fpoint.sh;h=da39899cb19e9c85ce58b1da5f9214fda81a742f;hp=92c12e82829831d10c69af63ed6b72f85c476252;hb=4f33534c8a684d257ef3e105b1badf07e3a56448;hpb=7dfb0b774e6592dcbfe47015168a0ac8b44e2a17 diff --git a/util/point.sh b/util/point.sh index 92c12e8282..da39899cb1 100755 --- a/util/point.sh +++ b/util/point.sh @@ -1,4 +1,10 @@ #!/bin/sh -/bin/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" +