"&>" is bash specific.

Fixes: e0dbfc99537 ("bin/get-pick-list.sh: warn when commit lists invalid sha")
Cc: Juan A. Suarez <jasua...@igalia.com>
Cc: Eric Engestrom <eric.engest...@intel.com>
Cc: Dylan Baker <dy...@pnwbakers.com>
Cc: Emil Velikov <emil.veli...@collabora.com>
Signed-off-by: Andres Gomez <ago...@igalia.com>
---
 bin/get-pick-list.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/get-pick-list.sh b/bin/get-pick-list.sh
index 79b7a295ea6..3099fc69413 100755
--- a/bin/get-pick-list.sh
+++ b/bin/get-pick-list.sh
@@ -44,7 +44,7 @@ is_sha_nomination()
                # Treat only the current line
                id=`echo "$fixes" | tail -n $fixes_count | head -n 1 | cut -d : 
-f 2`
                fixes_count=$(($fixes_count-1))
-               if ! git show $id &>/dev/null; then
+               if ! git show $id >/dev/null 2>&1; then
                        echo WARNING: Commit $1 lists invalid sha $id
                fi
        done
-- 
2.18.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to