index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Travis Willard <travis@archlinux.org> | 2008-01-05 09:54:58 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-01-23 16:11:37 -0600 |
commit | d853dee3ed47c30497e0c97d0c7962c4d196dde9 (patch) | |
tree | 3ecd695e8cf3c611d334f7756db78a5c736c5296 /makechrootpkg | |
parent | 9e627e219e7c0e3fb3aa21fe24e056d5233f6841 (diff) |
-rwxr-xr-x | makechrootpkg | 4 |
diff --git a/makechrootpkg b/makechrootpkg index c7ce273..1e26042 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -44,7 +44,7 @@ usage () exit 1 } -while getopts ':c:h' arg; do +while getopts ':r:h:c' arg; do case "${arg}" in r) chrootdir="$OPTARG" ;; c) clean_first=1 ;; @@ -172,7 +172,7 @@ else source ${WORKDIR}/PKGBUILD if [ -z "$(mount | grep ${chrootdir}/union/pkgdest)" ]; then echo "Moving completed package file to ${WORKDIR}" - mv ${chrootdir}/union/pkgdest/${pkgname}-${pkgver}-*.pkg.tar.gz ${WORKDIR} + mv ${chrootdir}/union/pkgdest/${pkgname}-${pkgver}-${pkgrel}-*.pkg.tar.gz ${WORKDIR} fi if [ -z "$(mount | grep ${chrootdir}/union/srcdest)" ]; then echo "Moving downloaded source files to ${WORKDIR}" |