From 0b90cfaa9ff10f594018fdcc686fe1b7a3924e4f Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Fri, 14 Aug 2009 22:31:04 -0500 Subject: [PATCH] Bashify drivers_dir check --- dracut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut b/dracut index 6e470777c..78cd2efc5 100755 --- a/dracut +++ b/dracut @@ -136,7 +136,7 @@ esac [[ $1 ]] && outfile=$(readlink -f $1) || outfile="/boot/initrd-$kernel.img" srcmods="/lib/modules/$kernel/" -[ -n "$drivers_dir" ] && srcmods="$drivers_dir" +[[ $drivers_dir ]] && srcmods="$drivers_dir" export srcmods if [[ -f $outfile && ! $force ]]; then -- 2.47.3