From 63ff3eb131f4f0a9011aaef982e4d49a197ed215 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 22 Jul 2012 17:01:16 +0100 Subject: [PATCH] build individual packages Change-Id: Ifbfd76cef3c75a7b74e2c3e16a7200176861179f --- depanneur | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/depanneur b/depanneur index 9096ba9..4dd2d94 100755 --- a/depanneur +++ b/depanneur @@ -169,13 +169,16 @@ sub info { print GREEN, "$msg\n", RESET; } - +if ( -d "packaging" && -d ".git" ) { + $path = cwd(); +} if ( $path eq "" ) { $package_path = "$build_root/packages"; } else { $package_path = $path; } -print "Start building packages from: " . $package_path . "($style)\n"; + +print "Start building packages from: " . $package_path . " ($style)\n"; if ($binarylist ne "") { $buildall = 1; @@ -705,7 +708,7 @@ my @done = (); my @skipped = (); my %caught; if ( ! -e "$localrepo/$dist/$arch/RPMS" ) { - print "Creating repo..." + print "Creating repo..."; createrepo ($arch, $dist); } mkdir_p "$localrepo/$dist/$arch/logs/success"; -- 2.34.1