From 7fa8af659cb12faa1cd8409e540daeb9a55ad6b4 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 12 Aug 2009 13:51:12 -0700 Subject: Replace '>/dev/null 2>&1' with '&>/dev/null' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original-by: Eric BĂ©langer Signed-off-by: Aaron Griffin --- makechrootpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makechrootpkg') 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" -- cgit v1.2.3-70-g09d2