summaryrefslogtreecommitdiff
path: root/makechrootpkg
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-08-12 13:51:12 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-12 13:51:12 -0700
commit7fa8af659cb12faa1cd8409e540daeb9a55ad6b4 (patch)
tree0ccd8a506b3e8e3873ac79185f9b80140cd91082 /makechrootpkg
parent032febfac460c653729db0dd7c58f3bc7dae434b (diff)
downloaddevtools-7fa8af659cb12faa1cd8409e540daeb9a55ad6b4.tar.xz
Replace '>/dev/null 2>&1' with '&>/dev/null'
Original-by: Eric BĂ©langer <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-xmakechrootpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 6785dbd..ac9c3e6 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -220,7 +220,7 @@ cd /build
export HOME=/build
sudo -u nobody makepkg $MAKEPKG_ARGS || touch BUILD_FAILED
[ -f BUILD_FAILED ] && exit 1
-which namcap >/dev/null 2>&1 && namcap /build/PKGBUILD /pkgdest/*${PKGEXT} > /pkgdest/namcap.log
+which namcap &>/dev/null && namcap /build/PKGBUILD /pkgdest/*${PKGEXT} > /pkgdest/namcap.log
exit 0
EOF
) > "$uniondir/chrootbuild"