Skip to content
Snippets Groups Projects
Commit 34f8f075 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

should now work with mountpoints other than /

Rev: NT/init_nt:1.5
Rev: NT/tools/lib:1.8
parent 22f177a5
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,12 @@ NTMOUNT=
PATH=`pwd`/tools:$PATH
CC=rntcc
NTTOOLS=`pwd`/tools/lib
if [ "x$NTMOUNT" = x ]; then
MNTREPLACE=""
else
MNTREPLACE="s@$NTMOUNT@@g
"
fi
export NTHOST NTDRIVE NTCC CC PATH NTTOOLS
......@@ -6,7 +6,7 @@ if [ $NT_DEBUG = yes ]; then
fi
fixpath() {
echo "$*" | sed -e "s@$NTMOUNT@@g" -e "s@/@\\\\@g"
echo "$*" | sed -e "${MNTREPLACE}s@/@\\\\@g"
}
fixabspath() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment