diff options
-rw-r--r-- | update-kernel.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/update-kernel.in b/update-kernel.in index ff91dff..76107ca 100644 --- a/update-kernel.in +++ b/update-kernel.in @@ -136,10 +136,10 @@ fi TMPDIR=$(mktemp -d /tmp/$SCRIPT.XXXXXX) ROOT=$TMPDIR/root BOOT=$ROOT/boot -WRAPPER=eval +WRAPPER= _exec() { - $WRAPPER "$1" + $WRAPPER "$@" } _apk() { @@ -199,10 +199,10 @@ MODIMG=$FLAVOR.modloop.squashfs mkdir $MODLOOP $STAGING cp -a $ROOT/lib/modules $MODLOOP cp -a $ROOT/lib/firmware $MODLOOP/modules -_exec "mksquashfs $MODLOOP $STAGING/$MODIMG -comp xz" +_exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz -_exec "mkinitfs -q -b $ROOT -F '$features base squashfs' \ - -o '$STAGING/$FLAVOR.gz' '$KVER'" +_exec mkinitfs -q -b $ROOT -F "$features base squashfs" \ + -o "$STAGING/$FLAVOR.gz" "$KVER" cp "$BOOT/vmlinuz$KVER_FLAVOR" "$STAGING/$FLAVOR" |