Am 17.03.2012 20:05, schrieb Matthew Monaco:
> Is there any reason why devel_update() actually needs to do an in-place sed? I
> replaced it with an eval and its working fine.
> 
> The function now looks like:
> 
>   if [[ -n $newpkgver ]]; then
>     if [[ $newpkgver != "$pkgver" ]]; then
>       eval $(sed -e "s/^pkgver=[^ ]*/pkgver=$newpkgver/" \
>                  -e "s/^pkgrel=[^ ]*/pkgrel=1/" \
>                  "$BUILDFILE")
>     fi
>   fi

As discussed somewhere else in this thread, the devel build shouldn't
modify the PKGBUILD at all.

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to