Commit 3d746a59 authored by Vitaly Lipatov's avatar Vitaly Lipatov

dmake, jmake: cd to realpath to get real path in build

parent 90ce9169
......@@ -91,4 +91,5 @@ if [ -n "$PLAIN_DISTCC" ] ; then
# unset DISTCC_HOSTS
fi
cd_to_realcwd
docmd $NICE time -p $PUMP make -j$DISTCC_THREADS CC="$DISTCC" CXX="$DISTCXX" "$@"
......@@ -23,4 +23,5 @@ MAKEARG="-j$NPROCS"
#[ "$(( $NPROCS - $LOADAVG ))" -gt 1 ] || MAKEARG=""
#make $MAKEARG "CC=$CC" "CXX=$CXX" "CPP=$CPP" "CXXCPP=$CXXCPP" $@
cd_to_realcwd
docmd $NICE time -p make $MAKEARG $@
......@@ -268,6 +268,11 @@ make_temp_file()
fi
}
cd_to_realcwd()
{
cd "$(realpath "$(pwd)" )"
}
# check if path is server:/path
is_ssh_target()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment