summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-23 12:56:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-23 12:56:43 +0000
commit1d7c3e19f74689edef110dc72ace07d558a5cab7 (patch)
treef93939f832e53ef4082ee6b5cc9a6004fc8d44fc
parentfe7ac07297f633f3ff7398ef82661cabf08075fa (diff)
downloaddrakx-1d7c3e19f74689edef110dc72ace07d558a5cab7.tar
drakx-1d7c3e19f74689edef110dc72ace07d558a5cab7.tar.gz
drakx-1d7c3e19f74689edef110dc72ace07d558a5cab7.tar.bz2
drakx-1d7c3e19f74689edef110dc72ace07d558a5cab7.tar.xz
drakx-1d7c3e19f74689edef110dc72ace07d558a5cab7.zip
[ ... ] && ... exits false if the cond is false, this is not what we want here
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 52fd53bd2..fd65a2cf2 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ install_only:
ifeq (i386,$(ARCH))
rm -rf $(ROOTDEST)/isolinux
- [ -d isolinux/xbox ] && mv -f isolinux/xbox/{linuxboot.cfg,default.xbe} $(ROOTDEST)
+ if [ -d isolinux/xbox ]; then mv -f isolinux/xbox/{linuxboot.cfg,default.xbe} $(ROOTDEST); fi
cp -af isolinux $(ROOTDEST)
endif