summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index c0013ba42..90d6892f7 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -28,8 +28,9 @@ all: binaries sysbinaries
binaries: $(BINARIES)
sysbinaries: FORCE binaries
+ rm -f bin.sys/*
bin/locate initdb postgres pg_ctl psql mysqld mysql
- test -e /dev/stderr || ln -s /proc/sys/fd/2 bin.sys/stderr && ln -s /dev/stderr bin.sys/stderr
+ if [ -e /dev/stderr ]; then ln -s /dev/stderr bin.sys/stderr; else ln -s /proc/sys/fd/2 bin.sys/stderr; fi
ls -la bin.sys
# Compile and link the programs: