summaryrefslogtreecommitdiff
path: root/clone_build_tree.pl
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2005-02-11 19:28:35 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2005-02-11 19:28:35 +0000
commit3a6424ace0f9a2b6aeb002433b3749d37af3bbc0 (patch)
tree87a85f052032e060cd083cdad7408d6e0662021a /clone_build_tree.pl
parent3adfca3e7c058d57a7d23f61120548619b661b51 (diff)
downloadMPC-3a6424ace0f9a2b6aeb002433b3749d37af3bbc0.tar.gz
ChangeLogTag: Fri Feb 11 13:25:02 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'clone_build_tree.pl')
-rwxr-xr-xclone_build_tree.pl10
1 files changed, 8 insertions, 2 deletions
diff --git a/clone_build_tree.pl b/clone_build_tree.pl
index 3df26e82..bf0baa04 100755
--- a/clone_build_tree.pl
+++ b/clone_build_tree.pl
@@ -372,8 +372,14 @@ sub linkFiles {
my($fullbuild) = "$builddir/$build";
## Create all of the links for this build
- print "Creating or updating in $fullbuild\n";
- mkpath($fullbuild, 0, $dmode);
+ if (-d $fullbuild) {
+ print "Updating $fullbuild\n";
+ }
+ else {
+ print "Creating $fullbuild\n";
+ mkpath($fullbuild, 0, $dmode);
+ }
+
if ($hardlink) {
$status += hardlinkFiles($files, $fullbuild, $dmode, $startdir);
}