diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-04 14:44:38 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-04 14:44:38 +0000 |
commit | 723435e4fa7b11ee62dcfa1997df933d10be852f (patch) | |
tree | d38fe00eea9f257cdc82cfc41eb05c622a712fe8 /bin/create_ace_build | |
parent | afc9b65971d556cf4421366dadab526321cae625 (diff) | |
download | ATCD-723435e4fa7b11ee62dcfa1997df933d10be852f.tar.gz |
changed symlink creation failure from error (with termination) to warning
Diffstat (limited to 'bin/create_ace_build')
-rwxr-xr-x | bin/create_ace_build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/create_ace_build b/bin/create_ace_build index 9dc092b91ba..6210cebbc74 100755 --- a/bin/create_ace_build +++ b/bin/create_ace_build @@ -141,12 +141,12 @@ foreach $file ( @files ) { print "symlink $up/$file $build/$file\n" if $verbose; symlink ("$up/$file", "$build/$file") || - die "$0 symlink to $build/$file failed\n"; + warn "$0: symlink to $build/$file failed\n"; } else { $path = $source . '/' . $file; print "symlink $path $build/$file\n" if $verbose; symlink ("$path", "$build/$file") || - die "$0 symlink to $build/$file failed\n"; + warn "$0: symlink to $build/$file failed\n"; } } } @@ -156,7 +156,7 @@ foreach $file ( @files ) { #### Find all the symlinks in the build directory #### open (LINKS, "$find $build -type l |") || - die "$0 cannot find symlinks in $build\n"; + die "$0: cannot find symlinks in $build\n"; while (<LINKS>) { chop; @@ -164,12 +164,12 @@ while (<LINKS>) { if ($#s == -1) { print "Removing $_ \n" if $verbose; unlink $_ || - warn "$0 unlink of $_ failed\n"; + warn "$0: unlink of $_ failed\n"; } } close (LINKS) || - die "$0 cannot close symlinks pipe\n"; + die "$0: cannot close symlinks pipe\n"; #### #### Done: print message. |