projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3af09a
)
added some debugging. still trying to resolve windows issues; cygpath didn't help...
author
Chris Koeritz
<fred@gruntose.com>
Mon, 27 Jun 2016 01:24:07 +0000
(21:24 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Mon, 27 Jun 2016 01:24:07 +0000
(21:24 -0400)
scripts/generator/wrapdoze.sh
patch
|
blob
|
history
diff --git
a/scripts/generator/wrapdoze.sh
b/scripts/generator/wrapdoze.sh
index b3a3dd1c61c75730e418e8bd35a5dd9dfded591f..3851aab9ecc172201347b4fe10ac92b2a4974a52 100755
(executable)
--- a/
scripts/generator/wrapdoze.sh
+++ b/
scripts/generator/wrapdoze.sh
@@
-8,6
+8,11
@@
function dossify_environment_variable()
{
local var="$1"; shift
{
local var="$1"; shift
+#cygpath doesn't handle multiple path variables properly and otherwise operates only on one path element.
+## new_value="$(cygpath -p -d ${!var})"
+## eval "export $var=\"$new_value\""
+##echo "hey now the var is '${!var}'"
+
old_value="${!var}"
if [[ ! "$old_value" =~ \/cygdrive\/ ]]; then
#echo didnt have a cygdrive in it: $old_value
old_value="${!var}"
if [[ ! "$old_value" =~ \/cygdrive\/ ]]; then
#echo didnt have a cygdrive in it: $old_value
@@
-21,8
+26,8
@@
function dossify_environment_variable()
# remove any quote characters in the value.
new_value="${new_value//\"/}"
# remove any quote characters in the value.
new_value="${new_value//\"/}"
-# echo "new value: $var = $new_value"
eval "export $var=\"$new_value\""
eval "export $var=\"$new_value\""
+ echo "new value established: $var='${!var}'"
}
# for a windows build, this will replace any forward slashes
}
# for a windows build, this will replace any forward slashes