[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kdesvn-build-1.10
From:       Michael Pyne <mpyne () kde ! org>
Date:       2009-07-23 3:33:08
Message-ID: 1248319988.896243.24878.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1001374 by mpyne:

Merge dfaure's symlink niceness patch to kdesvn-build work branch so I can merge this into trunk
without conflicts.


 M  +3 -1      kdesvn-build  


--- branches/work/kdesvn-build-1.10/kdesvn-build #1001373:1001374
@@ -3309,9 +3309,11 @@
     # eval since IPC::Open3 uses exceptions.
     eval
     {
+        # Need to chdir into the srcdir, in case srcdir is a symlink. svn info /path/to/symlink barfs.
+        p_chdir ($srcdir);
         my $output;
         local $ENV{'LC_ALL'} = 'C'; # Make the svn output untranslated
-        my $pid = open3(0, $output, undef, 'svn', 'info', '--non-interactive', $srcdir);
+        my $pid = open3(0, $output, undef, 'svn', 'info', '--non-interactive', '.');
 
         # Just read all the input in so we can safely waitpid the process
         my @lines = <$output>;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic