diff --git a/gh-assets-clone.sh b/gh-assets-clone.sh index a4f93b0e..63bc50f6 100755 --- a/gh-assets-clone.sh +++ b/gh-assets-clone.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # Script to setup the assets clone of the repository using GIT_ASSETS_BRANCH and # GIT_API_KEY. diff --git a/postgres-metrics-get-changes.sh b/postgres-metrics-get-changes.sh index 85f40b95..37dbfb37 100755 --- a/postgres-metrics-get-changes.sh +++ b/postgres-metrics-get-changes.sh @@ -3,7 +3,9 @@ # output by the exporter and then build lists of added/removed metrics. old_src="$1" -[ ! -e "$old_src" ] && exit 1 +if [ ! -d "$old_src" ] ; then + mkdir -p "$old_src" +fi function generate_add_removed() { type="$1"