diff options
Diffstat (limited to 'strata/build-essential/busybox.morph')
-rw-r--r-- | strata/build-essential/busybox.morph | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/strata/build-essential/busybox.morph b/strata/build-essential/busybox.morph index c02fb0c1..2f6a89b1 100644 --- a/strata/build-essential/busybox.morph +++ b/strata/build-essential/busybox.morph @@ -58,8 +58,9 @@ build-commands: install-commands: - | - make CONFIG_PREFIX="$DESTDIR$PREFIX" install && - chmod 6755 "$DESTDIR$PREFIX"/bin/busybox + if [ "$PREFIX" = /usr ]; then PREFIX=; fi && + make CONFIG_PREFIX="$DESTDIR$PREFIX" install && + chmod 6755 "$DESTDIR$PREFIX"/bin/busybox # Set up man environment variables - mkdir -p "$DESTDIR"/etc |