File: cygpath.sh

package info (click to toggle)
mozart-stdlib 20060615-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,560 kB
  • ctags: 139
  • sloc: sh: 3,031; xml: 2,547; makefile: 136
file content (10 lines) | stat: -rwxr-xr-x 108 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

case `uname -s` in
    CYGWIN*)
	cygpath -w "$1" | sed 's|\\|/|g'
	;;
    *)
	echo "$1"
	;;
esac