summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-04-28 16:42:30 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-04-28 16:42:30 +0200
commit4fa9e8a01b5ca8e87300142511fd280b42bba5e2 (patch)
tree6f40367e70af4b83825ca4013f9262906fee8eca
parent45ab987bc90b29f4d9df5b87b423faf138f6429d (diff)
downloaddrakx-4fa9e8a01b5ca8e87300142511fd280b42bba5e2.tar
drakx-4fa9e8a01b5ca8e87300142511fd280b42bba5e2.tar.gz
drakx-4fa9e8a01b5ca8e87300142511fd280b42bba5e2.tar.bz2
drakx-4fa9e8a01b5ca8e87300142511fd280b42bba5e2.tar.xz
drakx-4fa9e8a01b5ca8e87300142511fd280b42bba5e2.zip
simplify
-rwxr-xr-ximages/make_boot_img3
1 files changed, 1 insertions, 2 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 678b3ae37..fc843984d 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -40,8 +40,7 @@ mkdir "images";
my @kernels = chomp_(cat_('all.kernels/.list'));
my @all_images = (
- if_($arch =~ /i.86/, 'isolinux', 'boot.iso', 'all.img', 'hd_grub.img'),
- if_($arch =~ /x86_64/, 'isolinux', 'boot.iso', 'all.img', 'hd_grub.img'),
+ if_($arch =~ /i.86|x86_64/, 'isolinux', 'boot.iso', 'all.img', 'hd_grub.img'),
);
my @images = @ARGV ? @ARGV : map { "images/$_" } @all_images;