X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fgenerator%2Fwrapdoze.sh;h=d7432835e403dedaf5ea505f3aa490ca6f1c67c2;hb=2fdca9287111298b428cce91f789ef164799afef;hp=2ab57af5e121ce7ddb8b76f1389a902ae2c3aaf8;hpb=9dd46087481e1adf6a862778bc9b7ff56bf42db5;p=feisty_meow.git diff --git a/scripts/generator/wrapdoze.sh b/scripts/generator/wrapdoze.sh index 2ab57af5..d7432835 100755 --- a/scripts/generator/wrapdoze.sh +++ b/scripts/generator/wrapdoze.sh @@ -15,13 +15,12 @@ function dossify_and_run_commands() for i in "$@"; do if [[ "$i" =~ ^-[a-zA-z][/\"].* ]]; then -echo found parameter to fix... flag="${i:0:2}" filename="$(unix_to_dos_path ${i:2})" -echo "first two chars are $flag" -echo "last after that are $filename" +#echo "first two chars are $flag" +#echo "last after that are $filename" recombined="$flag$filename" -echo combined flag and file is $recombined +#echo combined flag and file is $recombined darc_commands+=("$recombined") else darc_commands+=($(unix_to_dos_path $i)) @@ -34,10 +33,11 @@ echo combined flag and file is $recombined done #temp! - echo commands are now: >>/tmp/wrapdoze.log + echo commands are now: for i in "${real_commands[@]}"; do - echo $i >>/tmp/wrapdoze.log + echo -n "$i " done + echo #end temp # now actually run the chewed command.