projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new fortunes
[feisty_meow.git]
/
scripts
/
clam
/
cpp
/
ms_root_dir.sh
diff --git
a/scripts/clam/cpp/ms_root_dir.sh
b/scripts/clam/cpp/ms_root_dir.sh
index 7e604407d191fec22d0b2449118d3ae936b1cf7d..6f7d21e3b7fdf6ebe89d8ec42496652642e2790a 100755
(executable)
--- a/
scripts/clam/cpp/ms_root_dir.sh
+++ b/
scripts/clam/cpp/ms_root_dir.sh
@@
-2,7
+2,7
@@
# spits out the root directory of visual studio, calculated from the common
# tools directory that always seems to be reliably set.
# spits out the root directory of visual studio, calculated from the common
# tools directory that always seems to be reliably set.
-# code s
tolen
from vis_stu_vars...
+# code s
nagged
from vis_stu_vars...
if [ -z "$VSxTOOLS" ]; then
export VSxTOOLS="$VS90COMNTOOLS"
if [ -z "$VSxTOOLS" ]; then
if [ -z "$VSxTOOLS" ]; then
export VSxTOOLS="$VS90COMNTOOLS"
if [ -z "$VSxTOOLS" ]; then
@@
-10,9
+10,10
@@
if [ -z "$VSxTOOLS" ]; then
fi
fi
if [ -z "$VSxTOOLS" ]; then
fi
fi
if [ -z "$VSxTOOLS" ]; then
- echo Failure to locate visual studio tools.
+ #echo Failure to locate visual studio tools.
+ # don't want to echo anything; need to be able to check that this provided nothing.
exit 33
fi
exit 33
fi
-
short_path
"$VSxTOOLS" | sed -e 's/\\/\//g' | sed -e 's/^\(.*\)\/[^\/]*\/[^\/]*[\/]$/\1/'
+
cygpath -w -s
"$VSxTOOLS" | sed -e 's/\\/\//g' | sed -e 's/^\(.*\)\/[^\/]*\/[^\/]*[\/]$/\1/'