mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Added cygwin-wrapper to the tip. Bug 141834.
This commit is contained in:
parent
18625bdcab
commit
1fc6948d32
17
nsprpub/build/cygwin-wrapper
Executable file
17
nsprpub/build/cygwin-wrapper
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Stupid wrapper to avoid win32 dospath/cygdrive issues
|
||||
#
|
||||
prog=$1
|
||||
shift
|
||||
if test -z "$prog"; then
|
||||
exit 0
|
||||
fi
|
||||
if test "$prog" = "-up"; then
|
||||
prog=$1
|
||||
shift
|
||||
args=`echo $* | sed -e 's|-I\(.\):|-I/cygdrive/\1|g;'`
|
||||
else
|
||||
args=`echo $* | sed -e 's|/cygdrive/\(.\)/|\1:/|g;'`
|
||||
fi
|
||||
exec $prog $args
|
Loading…
Reference in New Issue
Block a user