[Libreoffice-commits] .: solenv/bin

Caolán McNamara caolan at kemper.freedesktop.org
Sat Nov 6 05:22:24 PDT 2010


 solenv/bin/deliver.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 124f25c547e263cd8cafc473f63c962db7bfddd3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Nov 6 12:20:47 2010 +0000

    return early if source doesn't exist on symlink

diff --git a/solenv/bin/deliver.pl b/solenv/bin/deliver.pl
index 4b40315..e61419a 100755
--- a/solenv/bin/deliver.pl
+++ b/solenv/bin/deliver.pl
@@ -368,13 +368,13 @@ sub do_symlink
         }
     }
     else {
+        return unless -e $fullfrom;
         print "REMOVE: $to\n" if $opt_verbose;
         unlink $to;
         if ( $opt_delete ) {
             push_on_ziplist($to) if $opt_zip;
             return;
         }
-        return unless -e $fullfrom;
         print "SYMLIB: $from -> $to\n" if $opt_verbose;
         if ( !symlink("$from", "$to") ) {
             print_error("can't symlink $from -> $to: $!",0);


More information about the Libreoffice-commits mailing list