added missing cygwinify script
This commit is contained in:
parent
5659f273d7
commit
5e2e2e1e53
1 changed files with 19 additions and 0 deletions
19
tools/cygwinify.sh
Executable file
19
tools/cygwinify.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/bash
|
||||
RESULT=""
|
||||
for arg
|
||||
do
|
||||
if [[ "" != "$arg" ]] && [[ -e $arg ]];
|
||||
then
|
||||
OUT=`cygpath -wa $arg`
|
||||
else
|
||||
if [[ $arg == -* ]];
|
||||
then
|
||||
OUT=$arg
|
||||
else
|
||||
OUT="'$arg'"
|
||||
fi
|
||||
fi
|
||||
RESULT=$RESULT$OUT" "
|
||||
done
|
||||
echo "$RESULT"
|
||||
|
Loading…
Reference in a new issue