From b43c5d21e7868d1e5e4280f97d043aa7d12d45fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 Jul 2009 18:26:08 +0000 Subject: [PATCH] makepack can build snapshot --- build/makepack-dolibarr.pl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build/makepack-dolibarr.pl b/build/makepack-dolibarr.pl index 646b9f27959..7aaefa8c1fc 100644 --- a/build/makepack-dolibarr.pl +++ b/build/makepack-dolibarr.pl @@ -99,13 +99,17 @@ $BUILDROOT="$TEMP/buildroot"; my $copyalreadydone=0; +for (0..@ARGV-1) { + if ($ARGV[$_] =~ /^-*target=(\w+)/i) { $target=$1; } + if ($ARGV[$_] =~ /^-*desti=(.+)/i) { $DESTI=$1; } +} + print "Makepack version $VERSION\n"; print "Building package name: $PROJECT\n"; print "Building package version: $MAJOR.$MINOR.$BUILD\n"; +print "Source directory: $SOURCE\n"; +print "Target directory: $DESTI\n"; -for (0..@ARGV-1) { - if ($ARGV[$_] =~ /^-*target=(\w+)/i) { $target=$1; } -} # Choose package targets