summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-02-01 11:05:22 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-02-01 11:05:22 +0000
commitcea3d8219a4b025e63238e08421cc1b6da74e796 (patch)
tree65b509acdec9b2d076847074cc79d5536404f534
parent0777ea64c9cedd85fa9d82717d9d81d68c6c6545 (diff)
Prevent failure from pre-existing directory when making parcels.
-rwxr-xr-xinfrastructure/makeparcels.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/makeparcels.pl b/infrastructure/makeparcels.pl
index ea5d6ae9..16a88e5b 100755
--- a/infrastructure/makeparcels.pl
+++ b/infrastructure/makeparcels.pl
@@ -104,7 +104,7 @@ for my $parcel (@parcels)
print MAKE $target,":\n";
my $dir = parcel_dir($parcel);
- print MAKE "\tmkdir $dir\n";
+ print MAKE "\ttest -d $dir || mkdir $dir\n";
open SCRIPT,">parcels/scripts/install-$parcel" or die "Can't open installer script for $parcel for writing";
print SCRIPT "#!/bin/sh\n\n";