X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=util%2Fpoint.sh;h=da39899cb19e9c85ce58b1da5f9214fda81a742f;hp=92c12e82829831d10c69af63ed6b72f85c476252;hb=73a9f60dd127df9ca05bec7afd835ff7c9bee9ae;hpb=b7896b3cb86d80206af14a14d69b0717786f2729;ds=sidebyside 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" +