permission mods
[feisty_meow.git] / scripts / clam / cpp / ms_root_dir.sh
old mode 100755 (executable)
new mode 100644 (file)
index 3b5e072..6f7d21e
@@ -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.
 
-# code stolen from vis_stu_vars...
+# code snagged from vis_stu_vars...
 if [ -z "$VSxTOOLS" ]; then
   export VSxTOOLS="$VS90COMNTOOLS"
   if [ -z "$VSxTOOLS" ]; then
@@ -15,5 +15,5 @@ if [ -z "$VSxTOOLS" ]; then
   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/'