X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=util%2Fpoint.sh;h=da39899cb19e9c85ce58b1da5f9214fda81a742f;hb=eba44ca0a697845b2cf695d984f8d46a49c866f8;hp=47543c88e267d9d6580c7568285d3ae9c1b68deb;hpb=bb8f3c58794868c65b9ac45f11c27d3a104e279e;p=oweals%2Fopenssl.git diff --git a/util/point.sh b/util/point.sh index 47543c88e2..da39899cb1 100755 --- a/util/point.sh +++ b/util/point.sh @@ -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"