diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-07 00:45:07 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-07 00:45:07 +0300 |
commit | 93e8f638ba13390e877ec65af8f94e027e676931 (patch) | |
tree | ac3184caa8ae5e28c71aa5cc5cb2b2e984a1b413 /makeself | |
parent | 78cca3e0a2050f911681a45e5eb37369384dc098 (diff) |
attempt to fix travis errors on personal repos
Diffstat (limited to 'makeself')
-rwxr-xr-x | makeself/jobs/99-makeself.install.sh | 4 | ||||
-rwxr-xr-x | makeself/run-all-jobs.sh | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/makeself/jobs/99-makeself.install.sh b/makeself/jobs/99-makeself.install.sh index 02d661396e..465a319527 100755 --- a/makeself/jobs/99-makeself.install.sh +++ b/makeself/jobs/99-makeself.install.sh @@ -86,7 +86,7 @@ rm "${NETDATA_INSTALL_PATH}/sbin" \ # copy it to the netdata build dir NOWNER="unknown" -ORIGIN="$(git config --get remote.origin.url)" +ORIGIN="$(git config --get remote.origin.url || echo "unknown")" if [[ "${ORIGIN}" =~ ^git@github.com:.*/netdata.*$ ]] then NOWNER="${ORIGIN/git@github.com:/}" @@ -108,7 +108,7 @@ else NOWNER="-${NOWNER}" fi -VERSION="$(git describe)" +VERSION="$(git describe || echo "undefined")" [ -z "${VERSION}" ] && VERSION="undefined" FILE="netdata-${VERSION}-$(uname -m)-$(date +"%Y%m%d-%H%M%S")${NOWNER}.gz.run" diff --git a/makeself/run-all-jobs.sh b/makeself/run-all-jobs.sh index c71d06db3f..b08fa91877 100755 --- a/makeself/run-all-jobs.sh +++ b/makeself/run-all-jobs.sh @@ -42,4 +42,5 @@ do "${x}" "${NETDATA_INSTALL_PATH}" done +echo >&2 "All jobs for static packaging done successfully." exit 0
\ No newline at end of file |