From 1e595bfaa6618a38859b3b88ba3ee36ba6b6d372 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 25 Jun 2001 19:28:11 +0000 Subject: [PATCH] Don't try to create directory if symbolic link of same name exists. --- configure/tools/installEpics.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure/tools/installEpics.pl b/configure/tools/installEpics.pl index f4f84aa94..3e4c84054 100755 --- a/configure/tools/installEpics.pl +++ b/configure/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);