From fd887b9073beede7e2b36d89800b4eca14fd6f3c4cfc04c279481f487cdf5640 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 4 Sep 2012 06:02:36 +0000 Subject: [PATCH] correct assignment for additional external commands OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=70 --- libguestfs.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index c5c0e5d..8b93ea3 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -382,7 +382,8 @@ test -n "$ext_cmds" # guestfs may call mkfs, but it cant tell in advance which filesystems # it must support. Collect a manual list of possible filesystems so that # the commands get included in the initrd. -for fs in \ +ext_cmds="$ext_cmds +` for fs in \ ext2 \ ext3 \ ext4 \ @@ -397,7 +398,8 @@ for fs in \ ; do echo mkfs.$fs echo fsck.$fs -done >> ext_cmds.txt +done +` " # for cmd in ls $ext_cmds do