projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates getting us closer to working on windows. added a highly speculative implemen...
[feisty_meow.git]
/
scripts
/
generator
/
wrapdoze.sh
diff --git
a/scripts/generator/wrapdoze.sh
b/scripts/generator/wrapdoze.sh
index 2ab57af5e121ce7ddb8b76f1389a902ae2c3aaf8..d7432835e403dedaf5ea505f3aa490ca6f1c67c2 100755
(executable)
--- 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
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})"
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"
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))
darc_commands+=("$recombined")
else
darc_commands+=($(unix_to_dos_path $i))
@@
-34,10
+33,11
@@
echo combined flag and file is $recombined
done
#temp!
done
#temp!
- echo commands are now:
>>/tmp/wrapdoze.log
+ echo commands are now:
for i in "${real_commands[@]}"; do
for i in "${real_commands[@]}"; do
- echo
$i >>/tmp/wrapdoze.log
+ echo
-n "$i "
done
done
+ echo
#end temp
# now actually run the chewed command.
#end temp
# now actually run the chewed command.