@cryptotaxi247 / netdata-1 / commits / 93e8f638b

attempt to fix travis errors on personal repos

Costa Tsaousis (ktsaou) committed Apr 7, 2017 at 00:45 UTC 93e8f638ba13390e877ec65af8f94e027e676931
2 files changed +3 -2
makeself/jobs/99-makeself.install.sh
+2 -2
@@ -86,7 +86,7 @@ rm "${NETDATA_INSTALL_PATH}/sbin" \
86 # copy it to the netdata build dir
87
88 NOWNER="unknown"
89 -ORIGIN="$(git config --get remote.origin.url)"
89 +ORIGIN="$(git config --get remote.origin.url || echo "unknown")"
90 if [[ "${ORIGIN}" =~ ^git@github.com:.*/netdata.*$ ]]
91 then
92 NOWNER="${ORIGIN/git@github.com:/}"
@@ -108,7 +108,7 @@ else
108 NOWNER="-${NOWNER}"
109 fi
110
111 -VERSION="$(git describe)"
111 +VERSION="$(git describe || echo "undefined")"
112 [ -z "${VERSION}" ] && VERSION="undefined"
113
114 FILE="netdata-${VERSION}-$(uname -m)-$(date +"%Y%m%d-%H%M%S")${NOWNER}.gz.run"
makeself/run-all-jobs.sh
+1
@@ -42,4 +42,5 @@ do
42 "${x}" "${NETDATA_INSTALL_PATH}"
43 done
44
45 +echo >&2 "All jobs for static packaging done successfully."
46 exit 0
\ No newline at end of file