From 461245141ed40a918b21636a33490dcd9a417b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 26 Mar 2000 17:14:17 +0200 Subject: [PATCH] Improved fix. Rev: src/Makefile.in:1.183 --- src/Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 6d2a1bc6f0..a29919dd8e 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,5 +1,5 @@ # -# $Id: Makefile.in,v 1.182 2000/03/26 15:12:38 grubba Exp $ +# $Id: Makefile.in,v 1.183 2000/03/26 15:14:17 grubba Exp $ # # This line is needed on some machines. @@ -389,8 +389,8 @@ lib: $(LIBDIR_SRC)/master.pike.in Makefile done @if [ -d share/. ]; then : ; else \ echo "Creating symlink ./share"; \ - if [ "x`ls share 2>&1 || :`" = "x" ]; then :; else \ - if [ "x`ls share.old 2>&1 || :`" = "x" ]; then :; else \ + if [ "x`ls -d share 2>/dev/null || :`" = "x" ]; then :; else \ + if [ "x`ls -d share.old 2>/dev/null || :`" = "x" ]; then :; else \ echo "Deleting share.old"; \ $(RM) share.old; \ fi; \ -- GitLab