aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-09-06 21:29:36 -0500
committerRob Landley <rob@landley.net>2019-09-06 21:29:36 -0500
commit504fec23952355af514759ed61eeecf5a5c1bd80 (patch)
tree0101856d89ee4884f5146eaabbeabe3b1a7b273f
parent8781f3c361ab1e96875c3afc6cf99f47c6ce34b6 (diff)
downloadtoybox-504fec23952355af514759ed61eeecf5a5c1bd80.tar.gz
Update paths for scripts/cross.sh being in subdir instead of ./cross.sh.
-rwxr-xr-xscripts/cross.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cross.sh b/scripts/cross.sh
index 44bd876e..2e0f795e 100755
--- a/scripts/cross.sh
+++ b/scripts/cross.sh
@@ -4,11 +4,11 @@
# symlink (Cross C Compiler) to a directory of cross compilers named
# $TARGET-*-cross. Tested with scripts/mcm-buildall.sh output.
-# Usage: ./cross.sh $TARGET make distclean defconfig toybox
+# Usage: scripts/cross.sh $TARGET make distclean defconfig toybox
# With no arguments, lists available targets. Use target "all" to iterate
# through each $TARGET from the list.
-CCC="$(dirname "$(readlink -f "$0")")"/ccc
+CCC="$(dirname "$(readlink -f "$0")")"/../ccc
if [ ! -d "$CCC" ]
then
echo "Create symlink 'ccc' to cross compiler directory"