From a31be0a3c433f18d1218faf2f3d80c45f134323d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Tue, 30 Aug 2016 10:10:44 +0200 Subject: [PATCH] Fix test data build script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It uses bash specific features, so it should not claim /bin/sh in shebang. We also want to use `set -e` to catch possible errors instead of claiming success every time. Signed-off-by: Lubomír Sedlář --- tests/data/specs/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data/specs/build.sh b/tests/data/specs/build.sh index 80033ac7..e70b2567 100755 --- a/tests/data/specs/build.sh +++ b/tests/data/specs/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # run this script to (re-)generate ../repo and ../repo-krb5-lookaside directories @@ -7,7 +7,7 @@ # * rpmbuild -#set -e +set -e DIR=$(dirname $(readlink -f $0))