diff options
Diffstat (limited to 'scripts/mkroot.sh')
-rwxr-xr-x | scripts/mkroot.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkroot.sh b/scripts/mkroot.sh index 56905f29..77284e76 100755 --- a/scripts/mkroot.sh +++ b/scripts/mkroot.sh @@ -123,6 +123,7 @@ if [ -z "$LINUX" ] || [ ! -d "$LINUX/kernel" ]; then echo 'No $LINUX directory, kernel build skipped.' else # Which architecture are we building a kernel for? + LINUX="$(realpath "$LINUX")" [ -z "$TARGET" ] && TARGET="${CROSS_BASE/-*/}" [ -z "$TARGET" ] && TARGET="$(uname -m)" |