From d4107b4900837e69606eeb154cd8555c804428a3 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 1 Oct 2001 17:42:09 +0000 Subject: [PATCH] Don't try to create directory if symbolic link of same name exists. --- config/tools/installEpics.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/tools/installEpics.pl b/config/tools/installEpics.pl index f4f84aa94..3e4c84054 100755 --- a/config/tools/installEpics.pl +++ b/config/tools/installEpics.pl @@ -37,7 +37,7 @@ $install_dir =~ s[/$][]; # remove trailing '/' $install_dir =~ s[//][/]g; # replace '//' by '/' # Do we have to create the directory? -unless (-d $install_dir) +unless ( (-d $install_dir) || (-l $install_dir) ) { # Create dir only if -d option given Usage ("$install_dir does not exist") unless ($opt_d);