[arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Lukas Fleischer
Although this isn't really significant... I was just curious :) `grep '${\?startdir}\?/src' /var/abs/*/*/PKGBUILD | wc -l` - 648 `grep '${\?startdir}\?/pkg' /var/abs/*/*/PKGBUILD | wc -l` - 1385 `fgrep '|| return 1' /var/abs/*/*/PKGBUILD | wc -l` - 9274 Isn't that something that could be fixed

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Allan McRae
On 17/09/10 23:35, Lukas Fleischer wrote: Although this isn't really significant... I was just curious :) `grep '${\?startdir}\?/src' /var/abs/*/*/PKGBUILD | wc -l` - 648 `grep '${\?startdir}\?/pkg' /var/abs/*/*/PKGBUILD | wc -l` - 1385 `fgrep '|| return 1' /var/abs/*/*/PKGBUILD | wc -l` -

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Ionuț Bîru
On 09/17/2010 04:35 PM, Lukas Fleischer wrote: Although this isn't really significant... I was just curious :) `grep '${\?startdir}\?/src' /var/abs/*/*/PKGBUILD | wc -l` - 648 `grep '${\?startdir}\?/pkg' /var/abs/*/*/PKGBUILD | wc -l` - 1385 `fgrep '|| return 1' /var/abs/*/*/PKGBUILD | wc -l`

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Gan Lu
On Fri, Sep 17, 2010 at 9:54 PM, Ionuț Bîru ib...@archlinux.org wrote: On 09/17/2010 04:35 PM, Lukas Fleischer wrote: Although this isn't really significant... I was just curious :) `grep '${\?startdir}\?/src' /var/abs/*/*/PKGBUILD | wc -l` - 648 `grep '${\?startdir}\?/pkg'

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Lukas Fleischer
Well, it would need to be done on SVN trunk and released to the repo branches... so it is not just a simple sed. Mh, yeah. But that shouldn't be too difficult to script either (e.g. using a for loop and running scp(1) and archrelease for every package). Anyway, whats the rush? They will

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Dieter Plaetinck
On Fri, 17 Sep 2010 16:07:30 +0200 Lukas Fleischer archli...@cryptocrack.de wrote: Anyway, whats the rush? They will change eventually. There should be no (or very few) $startdir/{src,pkg} in [core]. As I already said at the beginning: Although this isn't really significant... I was

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Dan McGee
On Fri, Sep 17, 2010 at 9:14 AM, Dieter Plaetinck die...@plaetinck.be wrote: On Fri, 17 Sep 2010 16:07:30 +0200 Lukas Fleischer archli...@cryptocrack.de wrote: Anyway, whats the rush?  They will change eventually.  There should be no (or very few) $startdir/{src,pkg} in [core]. As I

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Allan McRae
On 18/09/10 00:40, Vitaliy Berdinskikh UR6LAD wrote: Although this isn't really significant... I was just curious :) `grep '${\?startdir}\?/src' /var/abs/*/*/PKGBUILD | wc -l` - 648 `grep '${\?startdir}\?/pkg' /var/abs/*/*/PKGBUILD | wc -l` - 1385 `fgrep '|| return 1' /var/abs/*/*/PKGBUILD |

Re: [arch-general] $startdir/src, $startdir/pkg and || return 1 in official packages

2010-09-17 Thread Steve Holmes
On Sat, Sep 18, 2010 at 12:43:25AM +1000, Allan McRae wrote: makepkg automatically exits on any error in the build() or package() functions. This is interesting to know; I had no idea. I learn to build my PKGBUILDs from other live examples as well as the .proto versions in the shared pacman