aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-08 16:40:55 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-08 16:40:55 +0100
commit75d714f5500d88bf9f6ed5c89a5ae29b32955563 (patch)
tree99e97855a13fb47b2ccf356864b1aad1ca1a41f4 /resources/scripts/helpers
parent6e2f64b68f427f7560737415283024ba2b07fd60 (diff)
downloadlibrebootfr-75d714f5500d88bf9f6ed5c89a5ae29b32955563.tar.gz
librebootfr-75d714f5500d88bf9f6ed5c89a5ae29b32955563.zip
build/release/sha512sums: add error checking and verbosity
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/build/release/sha512sums3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/sha512sums b/resources/scripts/helpers/build/release/sha512sums
index 5d868826..cc7668b3 100755
--- a/resources/scripts/helpers/build/release/sha512sums
+++ b/resources/scripts/helpers/build/release/sha512sums
@@ -19,6 +19,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+[ "x${DEBUG+set}" = 'xset' ] && set -v
+set -u -e
+
version="$(git describe --tags HEAD)"
versiondir="release/${version}"
sha512filename="sha512sum.txt"