We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c4e2f commit 5dc4d9eCopy full SHA for 5dc4d9e
hash-xdrs.sh
@@ -1,4 +1,4 @@
1
-#!/bin/sh
+#!/bin/bash
2
#
3
# This file generates a C++ file which contains (filename, hash) pairs for XDR
4
# files included in the build. These are included in the stellar-core build to
@@ -8,6 +8,9 @@
8
# The goal is to detect the (unfortunately easy) condition of C++ and Rust code
9
# communicating with each other using different XDR definitions.
10
11
+set -o errexit
12
+set -o pipefail
13
+
14
if [ ! -d $1/xdr ]; then
15
echo "usage: $0 XDR_PROTOCOL_DIR"
16
exit 1
0 commit comments