index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-08-27 10:52:05 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-27 11:04:21 -0500 |
commit | a8dcfeccfcd0fc78554e6dad7ae07d53034363e1 (patch) | |
tree | 673c0901266107f2886c9332ffd4f83edde4a2e1 /scripts/makepkg.sh.in | |
parent | 8d88f0c897e5dd531a2c74dd2bca56db56a3c63d (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 17fd5de7..dc720caa 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -372,7 +372,7 @@ download_file() { run_pacman() { local cmd printf -v cmd "%q " "$PACMAN" $PACMAN_OPTS "$@" - if (( ! ASROOT )) && [[ ! $1 =~ ^-(T|Qq)$" ]]; then + if (( ! ASROOT )) && [[ ! $1 =~ ^-(T|Qq)$ ]]; then if [ "$(type -p sudo)" ]; then cmd="sudo $cmd" else |