[pacman-dev] [PATCH v3 1/8] bacman: allow for multiple packages as arguments

Allan McRae allan at archlinux.org
Thu Sep 1 03:49:57 UTC 2016


On 01/09/16 07:05, Gordian Edenhofer wrote:
> To enable the creation of multiple packages with one command move the
> assembly process into its own function.
> Handle SIGHUP, SIGINT, SIGTERM and remove working directories
> accordingly.
> Add some comments.
> 
> Signed-off-by: Gordian Edenhofer <gordian.edenhofer at gmail.com>


OK. I included one minor change below:

> +
> +	# Clean up working directory
>  	rm -rf "$work_dir"
> -	exit 1
> -fi
> +	msg "Done."
> +}
>  
> -rm -rf "$work_dir"
>  
> -msg "Done."
> +for PKG in $@; do fakebuild $PKG; done
>  

Moved the "Done" message to be displayed once at the end.


More information about the pacman-dev mailing list