diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-10 18:06:29 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-10 18:06:29 -0400 |
commit | 33730fc272bec6376a28d8f813e9e35ec4f84175 (patch) | |
tree | 0b85c3687a968fe83baa879952984f18f75f3061 /archbuild.in | |
parent | 534d2015b45e013b37e1edbb997bd4df27d7b8fd (diff) | |
parent | 905198295dcb4fffcd16edff3fd7052a4cfc5788 (diff) | |
download | devtools-33730fc272bec6376a28d8f813e9e35ec4f84175.tar.xz |
Merge remote-tracking branch 'arch/master'
Conflicts:
lib/common.sh
makechrootpkg.in
Diffstat (limited to 'archbuild.in')
-rw-r--r-- | archbuild.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archbuild.in b/archbuild.in index ec70b59..64e0904 100644 --- a/archbuild.in +++ b/archbuild.in @@ -40,9 +40,7 @@ done # Pass all arguments after -- right to makepkg makechrootpkg_args+=("${@:$OPTIND}") -if (( EUID )); then - die 'This script must be run as root.' -fi +check_root "$0" "$@" if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then msg "Creating chroot for [%s] (%s)..." "${repo}" "${arch}" |