Commit 9b622e74 authored by Ben Avison's avatar Ben Avison
Browse files

Adjust relative paths to allow for source tree reorganisation

parent e6b68db6
......@@ -21,6 +21,6 @@ elif [ -n "$ZSH_NAME" ]; then script=${(%):-%x}
elif [ ${0##*/} = dash ]; then x=$(lsof -p $$ -Fn0 | tail -1); script=${x#*n}
fi
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../../../.. && pwd)"
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../.. && pwd)"
. $BUILDDIR/Env/!Common.sh
......@@ -21,6 +21,6 @@ elif [ -n "$ZSH_NAME" ]; then script=${(%):-%x}
elif [ ${0##*/} = dash ]; then x=$(lsof -p $$ -Fn0 | tail -1); script=${x#*n}
fi
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../../../.. && pwd)"
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../.. && pwd)"
. $BUILDDIR/Env/!Common.sh
......@@ -22,6 +22,6 @@ elif [ -n "$ZSH_NAME" ]; then script=${(%):-%x}
elif [ ${0##*/} = dash ]; then x=$(lsof -p $$ -Fn0 | tail -1); script=${x#*n}
fi
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../../../.. && pwd)"
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../.. && pwd)"
. $BUILDDIR/Env/!Common.sh
......@@ -21,6 +21,6 @@ elif [ -n "$ZSH_NAME" ]; then script=${(%):-%x}
elif [ ${0##*/} = dash ]; then x=$(lsof -p $$ -Fn0 | tail -1); script=${x#*n}
fi
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../../../.. && pwd)"
export BUILDDIR="$(cd $(dirname $(readlink -f "$script"))/../.. && pwd)"
. $BUILDDIR/Env/!Common.sh
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