X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Fms_root_dir.sh;h=6f7d21e3b7fdf6ebe89d8ec42496652642e2790a;hb=04d1ca71956065bc82b6871d50ad110be6c23b88;hp=3b5e0723f8723a6bc5622f8107b23a6bdea0ab2d;hpb=1874b84e75a13d5959f4713734ff40dcc5d37581;p=feisty_meow.git diff --git a/scripts/clam/cpp/ms_root_dir.sh b/scripts/clam/cpp/ms_root_dir.sh old mode 100644 new mode 100755 index 3b5e0723..6f7d21e3 --- 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. -# 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/'