diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-05 13:49:50 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-05 13:49:50 -0500 |
commit | 34ac2931234b898d587bffe76ba061082b6c673c (patch) | |
tree | 2b613cca360a54b6285836aa0413a50158ddc147 /archbuild.in | |
parent | 33f227ec628f30b70ee5b1412fd47564325b4b4c (diff) | |
parent | 98166e3454139918304b3e0a314e41628dd0c61c (diff) | |
download | devtools32-34ac2931234b898d587bffe76ba061082b6c673c.tar.xz |
Merge branch 'archlinux'libretools-20141128
Conflicts:
arch-nspawn.in
archbuild.in
makechrootpkg.in
Diffstat (limited to 'archbuild.in')
-rw-r--r-- | archbuild.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/archbuild.in b/archbuild.in index 64e0904..812db7c 100644 --- a/archbuild.in +++ b/archbuild.in @@ -29,6 +29,8 @@ usage() { exit 1 } +orig_argv=("$@") + while getopts 'hcr:' arg; do case "${arg}" in c) clean_first=true ;; @@ -37,11 +39,11 @@ while getopts 'hcr:' arg; do esac done +check_root "$0" "${orig_argv[@]}" + # Pass all arguments after -- right to makepkg makechrootpkg_args+=("${@:$OPTIND}") -check_root "$0" "$@" - if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then msg "Creating chroot for [%s] (%s)..." "${repo}" "${arch}" |