From 59caaa979c1b7b5cdf934bc1f4a8a28fd33e3b80 Mon Sep 17 00:00:00 2001 From: Vitaliy Mysak Date: Mon, 10 Sep 2018 18:17:07 +0000 Subject: [PATCH] scripts: change shebang Changed "/bin/sh" to "/usr/bin/env bash" in scripts/pkgdep.sh Previously script failed on my Ubuntu server, with error: trap: ERR: bad trap Change-Id: I054c0388c462e2d0340b6e3d4e581a8e6cdc7097 Signed-off-by: Vitaliy Mysak Reviewed-on: https://review.gerrithub.io/424998 Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Ben Walker Chandler-Test-Pool: SPDK Automated Test System --- scripts/pkgdep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkgdep.sh b/scripts/pkgdep.sh index 1d071eccc..87da546b5 100755 --- a/scripts/pkgdep.sh +++ b/scripts/pkgdep.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#! /usr/bin/env bash # Please run this script as root. set -e