From 7240f29e22c9eba4fe305088bd38cb7a6cfd7cc4 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Sat, 17 Apr 2021 00:22:59 -0500 Subject: [PATCH] Fix separate build directory instructions --- build-toolchain.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-toolchain.bash b/build-toolchain.bash index 6e37c72ef4..a2d5db1bd6 100755 --- a/build-toolchain.bash +++ b/build-toolchain.bash @@ -125,11 +125,12 @@ fi ##################### Sanity checks if [ `pwd -P` == "$SRC" ]; then - echo "Please do not invoke build-toolchain.sh from the source directory." + echo "Please do not invoke `basename $0` from the source directory." echo "Instead, create a separate build directory:" echo " cd .." echo " mkdir Retro68-build" - echo " ../`basename $SRC`/build-toolchain.sh" + echo " cd Retro68-build" + echo " ../`basename $SRC`/`basename $0`" exit 1 fi