summaryrefslogtreecommitdiffstats
path: root/build-initramfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-initramfs.sh')
-rwxr-xr-xbuild-initramfs.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build-initramfs.sh b/build-initramfs.sh
index 2b31f55b..3ff67f6e 100755
--- a/build-initramfs.sh
+++ b/build-initramfs.sh
@@ -418,8 +418,10 @@ main() {
exit 1
fi
echo " * kernel headers: $kernel_headers"
- [ -n "$qcow_handler" ] && echo " * qcow2 handler: $qcow_handler"
- export _QCOW_HANDLER="$qcow_handler"
+ if [ -n "$qcow_handler" ]; then
+ echo " * qcow2 handler: $qcow_handler"
+ export qcow_handler
+ fi
if [ "$update" = "yes" ]; then
pushd "${_repo_dir}"