Skip to content
Snippets Groups Projects
Commit 58d40c62 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Packager can now build different packages into one launch.

parent c3331169
No related branches found
No related tags found
No related merge requests found
......@@ -372,7 +372,7 @@ if ($nboftargetok) {
print "Remove target ".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm...\n";
unlink("$DESTI/$FILENAMETGZ2.tgz");
mkdir "$BUILDROOT/$FILENAMETGZ2" or die $!;
rmdir "$BUILDROOT/$FILENAMETGZ2";
print "Copy $BUILDROOT/$PROJECT to $BUILDROOT/$FILENAMETGZ2\n";
$cmd="cp -pr \"$BUILDROOT/$PROJECT\" \"$BUILDROOT/$FILENAMETGZ2\"";
$ret=`$cmd`;
......@@ -406,7 +406,7 @@ if ($nboftargetok) {
print "Move $RPMDIR/RPMS/".$ARCH."/".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm into $DESTI/".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm\n";
$cmd="mv \"$RPMDIR/RPMS/".$ARCH."/".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm\" \"$DESTI/".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm\"";
# $ret=`$cmd`;
$ret=`$cmd`;
next;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment