ooo-build r13715 - in trunk: . bin/piece
- From: ccheney svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r13715 - in trunk: . bin/piece
- Date: Fri, 29 Aug 2008 02:11:15 +0000 (UTC)
Author: ccheney
Date: Fri Aug 29 02:11:15 2008
New Revision: 13715
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13715&view=rev
Log:
2008-08-28 Chris Cheney <ccheney ubuntu com>
* bin/piece/copyexcept: wrap mkdir shell command with system()
Modified:
trunk/ChangeLog
trunk/bin/piece/copyexcept
Modified: trunk/bin/piece/copyexcept
==============================================================================
--- trunk/bin/piece/copyexcept (original)
+++ trunk/bin/piece/copyexcept Fri Aug 29 02:11:15 2008
@@ -21,8 +21,8 @@
}
if (-d $src) {
- print "mkdir $dest\n";
- mkdir $dest || die "Failed to mkdir $dest: $!";
+ print "mkdir -p $dest\n";
+ system("mkdir -p $dest") == 0 || die "Failed to mkdir -p $dest: $!";
my $dir;
opendir ($dir, $src) || die "Can't open dir $src: $!";
@@ -59,7 +59,7 @@
$dest = pop @src;
@src && defined $dest || die "Missing src or dest\n";
-mkdir $dest;
+system("mkdir -p $dest") == 0 || die "Failed to mkdir -p $dest: $!";
my $ef;
my %exceptions;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]