aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-16 20:17:07 +0000
committerhpa <hpa>2003-04-16 20:17:07 +0000
commit94deeb18240f9d857a6e7f9662c3f9fac3bc2b33 (patch)
tree1e16fc1d0c15bac8ab37b548ff2b7db905624df8
parentff563b1afb6b188f7c4bcc987020cc5b569401e7 (diff)
downloadsyslinux-elf-94deeb18240f9d857a6e7f9662c3f9fac3bc2b33.tar.gz
syslinux-elf-94deeb18240f9d857a6e7f9662c3f9fac3bc2b33.tar.xz
syslinux-elf-94deeb18240f9d857a6e7f9662c3f9fac3bc2b33.zip
[ foo ] && bar results in exit 1 if not foosyslinux-2.04-pre4
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b6237ef6..95211e01 100644
--- a/Makefile
+++ b/Makefile
@@ -182,7 +182,7 @@ install-lib: installer
install -m 644 -c $(INSTALL_LIB) $(INSTALLROOT)$(LIBDIR)
install -m 644 -c $(INSTALL_INC) $(INSTALLROOT)$(INCDIR)
cd $(INSTALLROOT)$(LIBDIR) && ln -sf $(LIB_SO) libsyslinux.so
- [ -z '$(INSTALLROOT)' ] && ldconfig
+ if [ -z '$(INSTALLROOT)' ]; then ldconfig; fi
install-all: install install-all