From 29bbb0ca9f82b4562b126e8c73f8262f7f61c844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 5 Feb 2010 09:28:40 +0000 Subject: [PATCH] Fix stream redirection order so stderr actually goes to /dev/null. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35412 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/scripts/build_haiku_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/build_haiku_image b/build/scripts/build_haiku_image index 95efcabf61..3d320ca6c3 100755 --- a/build/scripts/build_haiku_image +++ b/build/scripts/build_haiku_image @@ -34,7 +34,7 @@ fi # If the haiku image path is a symlink resolve it now (makebootable needs the # path of the actual device path under Linux). -if readlink -f "$imagePath" 2>&1 > /dev/null; then +if readlink -f "$imagePath" > /dev/null 2>&1 ; then normalizedImagePath=$(readlink -f "$imagePath") if [ "$normalizedImagePath" ]; then imagePath="$normalizedImagePath"