aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-03-18 12:19:42 +0000
committerOlivier Blin <oblin@mandriva.com>2007-03-18 12:19:42 +0000
commitc8dfbeed735024e6c5fa916071136f600cc5d831 (patch)
treecfff33867d42b50589535ca181cb7568316b540b
parentc9356871dac04b168f692bd6bef14712cdc88130 (diff)
downloadiurt-c8dfbeed735024e6c5fa916071136f600cc5d831.tar
iurt-c8dfbeed735024e6c5fa916071136f600cc5d831.tar.gz
iurt-c8dfbeed735024e6c5fa916071136f600cc5d831.tar.bz2
iurt-c8dfbeed735024e6c5fa916071136f600cc5d831.tar.xz
iurt-c8dfbeed735024e6c5fa916071136f600cc5d831.zip
explicitely die when the log directory can not be created
-rwxr-xr-xiurt21
1 files changed, 1 insertions, 0 deletions
diff --git a/iurt2 b/iurt2
index 311d9f4..5c30611 100755
--- a/iurt2
+++ b/iurt2
@@ -814,6 +814,7 @@ retry:
# only create the log dir for the new srpm
mkdir $log_dir;
+ -d $log_dir or die "FATAL: could not create $log_dir (check permissions and group ownerships)";
plog('INFO', "Install build dependencies");
my $path_srpm = "$chroot_tmp/home/$luser/rpm/SRPMS/";