point.sh 181 B

12345678910
  1. #!/bin/sh
  2. rm -f "$2"
  3. if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw || test "x$OS" = xWindows_NT ; then
  4. cp "$1" "$2"
  5. else
  6. ln -s "$1" "$2"
  7. fi
  8. echo "$2 => $1"