From f47d6c71ede240acb590619e529289529d9c3b24 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 May 2012 23:56:51 +0200 Subject: [PATCH] Fix: Regression in packager --- build/makepack-dolibarr.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/makepack-dolibarr.pl b/build/makepack-dolibarr.pl index cd13e6fcc1b..7235f2d4226 100644 --- a/build/makepack-dolibarr.pl +++ b/build/makepack-dolibarr.pl @@ -166,7 +166,7 @@ $atleastonerpm=0; foreach my $target (keys %CHOOSEDTARGET) { if ($target =~ /RPM/i) { - if ($atleastonerpm && ! $ENV{"DESTI"}) + if ($atleastonerpm && ($DESTI eq "$SOURCE/build")) { print "Error: You asked creation of several rpms. Because all rpm have same name, you must defined an environment variable DESTI to tell packager where it can create subdirs for each generated package.\n"; exit;