You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
137 B

  1. #!/bin/sh
  2. TOOL="/usr/bin/${0##*/}"
  3. set -e
  4. if [ $# -ge 2 ]; then
  5. if [ "x-C" = "x$1" ]; then
  6. cd "$2"
  7. shift 2
  8. fi
  9. fi
  10. exec $TOOL "$@"