added missing cygwinify script

This commit is contained in:
Cyryl Plotnicki-Chudyk 2014-09-02 10:22:14 +02:00
parent 5659f273d7
commit 5e2e2e1e53

19
tools/cygwinify.sh Executable file
View 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"