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

may now work with other mountpoints than /

Rev: NT/init_nt:1.4
Rev: NT/tools/lib:1.6
parent ce963123
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# Edit
NTHOST=kheleyr NTHOST=kheleyr
NTDRIVE='j:' NTDRIVE='j:'
# What dir on the UNIX machine is on $NTDRIVE ?
# This variable MUST NOT end with a slash.
NTMOUNT=
# Don't edit
PATH=`pwd`/tools:$PATH PATH=`pwd`/tools:$PATH
CC=rntcc CC=rntcc
NTTOOLS=`pwd`/tools/lib NTTOOLS=`pwd`/tools/lib
......
...@@ -6,11 +6,12 @@ if [ $NT_DEBUG = yes ]; then ...@@ -6,11 +6,12 @@ if [ $NT_DEBUG = yes ]; then
fi fi
fixpath() { fixpath() {
echo "$*" | sed -e 's@/@\\@g' echo "$*" | sed -e "s@$NTMOUNT@@g
@/@\\@g"
} }
fixabspath() { fixabspath() {
echo "$*" | sed -e 's@/@\\@g' fixpath "$*"
} }
getntenv() { getntenv() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment