Fix test data build script

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ář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-08-30 10:10:44 +02:00
parent f43b8736b7
commit a31be0a3c4

View File

@ -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))