Merge 811c381ab6 into merged_master (Bitcoin PR #17329)

This commit is contained in:
Andrew Poelstra 2020-11-09 21:20:49 +00:00
commit d472d58b7b

View file

@ -4,7 +4,8 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C
DIR="$1"
# Strip trailing / from directory path (in case it was added by autocomplete)
DIR="${1%/}"
COMMIT="$2"
if [ -z "$COMMIT" ]; then
COMMIT=HEAD