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