From 0c8fc7b2151dd8210a435587722567414be0f278 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 15 Jun 2017 15:02:39 -0400 Subject: [PATCH] small mods on windoze wrapper --- scripts/generator/wrapdoze.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/generator/wrapdoze.sh b/scripts/generator/wrapdoze.sh index 99f05ef9..b4ea47f6 100755 --- a/scripts/generator/wrapdoze.sh +++ b/scripts/generator/wrapdoze.sh @@ -18,6 +18,7 @@ function dossify_environment_variable() if [[ ! "$old_value" =~ \/cygdrive\/ ]]; then #echo didnt have a cygdrive in it: $old_value return 0 +#hmmm: want this to continue in multi parm version. fi # replace single back-slashes with double ones. @@ -26,8 +27,8 @@ function dossify_environment_variable() # remove any quote characters in the value. new_value="${new_value//\"/}" -echo "new value: '$var' = '$new_value'" eval "export $var=\"$new_value\"" + echo "new value established: $var='${!var}'" } # for a windows build, this will replace any forward slashes @@ -96,8 +97,7 @@ function dossify_and_run_commands() #new approach that creates a cmd file. cmdfile="$(mktemp $CLAM_TMP/build_cmds.XXXXXX)" echo "${real_commands[@]}" >"$cmdfile" -echo "** cmd file is: '$cmdfile')" -#echo "** cmd file has: $(cat "$cmdfile")" +#echo "**** cmd file is $cmdfile" cmd /c $(cat "$cmdfile") retval=$? # leave the file for inspection if there was an error. -- 2.34.1