point.sh 152 B

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