[pacman-dev] [PATCH] Change directory in package function in PKGBUILD.proto

Nezmer git at nezmer.info
Wed May 19 09:51:59 EDT 2010


On Wed, May 19, 2010 at 10:32:54PM +1000, Allan McRae wrote:
> makepkg goes back to the $startdir between the build() and
> package() functions so we need to change directory at the
> start of the package function.
> 
> TODO: fix makepkg to make this unnecessary
> 

Although annoying at the beginning , The current behaviour is
straight-forward and makes sense. Especially in the case where multiple
package functions cd to different dirs.

You can do this when no package splitting is used, but that will make
makepkg's behaviour unpredictable.


More information about the pacman-dev mailing list