tazpkg rev 906

modules/get: update abort_package()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 23 16:47:41 2016 +0200 (2016-04-23)
parents 0b78aae43c97
children 04c88406e575
files modules/get
line diff
     1.1 --- a/modules/get	Sun Apr 03 03:55:24 2016 +0300
     1.2 +++ b/modules/get	Sat Apr 23 16:47:41 2016 +0200
     1.3 @@ -110,7 +110,9 @@
     1.4  abort_package() {
     1.5  	cd "$CUR_DIR"
     1.6  	rm -rf "$tmp_dir"
     1.7 -	echo "${1:-Abort $PACKAGE.}"
     1.8 +	msg="${1:-Abort $PACKAGE.}"
     1.9 +	shift
    1.10 +	printf "$msg" $@
    1.11  	exit 1
    1.12  }
    1.13