From 52adb1bbd654504bd00ef6ec25fc85e8f51c130a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Wed, 9 Feb 2011 12:57:33 -0600 Subject: =?UTF-8?q?Modified=20librestage=20to=20be=20more=20informative=20?= =?UTF-8?q?(when=20I=20tried=20it,=20it=20said=20=C2=ABlibretools=20staged?= =?UTF-8?q?=20on=20[core]=C2=BB=20but=20nothing=20had=20happened)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- librestage | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'librestage') diff --git a/librestage b/librestage index 2ac8adc..933a7e7 100755 --- a/librestage +++ b/librestage @@ -55,7 +55,7 @@ fi } # Source the needed files -source PKGBUILD +source ./PKGBUILD source /etc/makepkg.conf [[ -e ~/.makepkg.conf ]] && source ~/.makepkg.conf @@ -70,20 +70,19 @@ for _arch in ${arch[@]}; do pkgfile="$PKGDEST/$pkg-$pkgver-$pkgrel-$_arch$PKGEXT" if [ -e "${pkgfile}" ]; then - + echo found ${pkgfile} for _repo in ${repos[@]}; do cp "${pkgfile}" "${WORKDIR}/staging/${_repo}/" || { echo "Can't put ${pkgfile} on [staging]" exit 1 - } - + } && { + echo "${pkg} staged on [${_repo}]" + } done fi done done -echo "${pkgname[@]} staged on [${repos[@]}]" - -exit 0 +exit 0 \ No newline at end of file -- cgit v1.2.2