changeset 2161:d157f31719f6

test -e -> -d
author arpi
date Thu, 11 Oct 2001 11:58:24 +0000
parents 81f16b270b8b
children 98e244e5c0a1
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Oct 11 06:24:17 2001 +0000
+++ b/Makefile	Thu Oct 11 11:58:24 2001 +0000
@@ -118,14 +118,14 @@
 	$(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
 
 install: $(ALL_PRG)
-	if [ ! -e $(BINDIR) ]; then \
+	if [ ! -d $(BINDIR) ]; then \
 		mkdir -p $(BINDIR); \
 	fi
 	install -m 755 -s $(PRG) $(BINDIR)/$(PRG)
 ifeq ($(GUI),yes)
 	-ln -s $(BINDIR)/$(PRG) $(BINDIR)/gmplayer
 endif
-	if [ ! -e $(prefix)/man/man1 ]; then \
+	if [ ! -d $(prefix)/man/man1 ]; then \
 		mkdir -p $(prefix)/man/man1; \
 	fi
 	install -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1