Re: [BUG] in the generic packaging script

2003-06-13 Thread Ronald Landheer-Cieslak
On Thu, 12 Jun 2003, Charles Wilson wrote: Ronald Landheer-Cieslak wrote: I'm starting from scratch on the aspell dict packs, because I don't quite remember where I left off. I downloaded a fresh generic script and named it aspell-en-0.51.0-1.sh. I added a debug functions available from

Re: [BUG] in the generic packaging script

2003-06-13 Thread Charles Wilson
Ronald Landheer-Cieslak wrote: On Thu, 12 Jun 2003, Charles Wilson wrote: Try this instead: export PKG=`echo $tscriptname | sed -e 's/\-[^\-]*\-[^\-]*$//'` export VER=`echo $tscriptname | sed -e s/${PKG}-// -e 's/\-[^\-]*$//'` export REL=`echo $tscriptname | sed -e s/${PKG}-${VER}-//` Works like

Re: [BUG] in the generic packaging script

2003-06-12 Thread Gerrit P. Haase
Ronald schrieb: I'm starting from scratch on the aspell dict packs, because I don't quite remember where I left off. I downloaded a fresh generic script and named it aspell-en-0.51.0-1.sh. I added a debug functions available from the command-line to see whether the different variables were

Re: [BUG] in the generic packaging script

2003-06-12 Thread Ronald Landheer-Cieslak
On Thu, 12 Jun 2003, Gerrit P. Haase wrote: Ronald schrieb: I'm starting from scratch on the aspell dict packs, because I don't quite remember where I left off. I downloaded a fresh generic script and named it aspell-en-0.51.0-1.sh. I added a debug functions available from the

Re: [BUG] in the generic packaging script

2003-06-12 Thread Robert Collins
The bug is in the parsing yes And yes, it's definately a bug, as setup's parser supports package names with - in them. For now - patches gratefully accepted. (PS I suggest reviewing the setup parser - you'll need the same order of sub-portion extraction to get the right results easily. Rob

[BUG] in the generic packaging script

2003-06-11 Thread Ronald Landheer-Cieslak
I'm starting from scratch on the aspell dict packs, because I don't quite remember where I left off. I downloaded a fresh generic script and named it aspell-en-0.51.0-1.sh. I added a debug functions available from the command-line to see whether the different variables were set OK and - lo and