Skip to content

Commit

Permalink
fix packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
psycofdj committed Jan 16, 2020
1 parent af5f09e commit fbf1194
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/boshupdate_exporter/packaging
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash -eu
#!/bin/bash -e

ostype=$(uname | tr '[:upper:]' '[:lower:]')
if [ -z "$BOSH_PACKAGES_DIR" ]; then
if [ -z "${BOSH_PACKAGES_DIR}" ]; then
pkg_dir=$(readlink -nf /var/vcap/packages/golang-1.12-${ostype})
else
pkg_dir=$BOSH_PACKAGES_DIR/golang-1.12-${ostype}
pkg_dir=${BOSH_PACKAGES_DIR}/golang-1.12-${ostype}
fi

PACKAGE_NAME="github.com/orange-cloudfoundry/boshupdate_exporter"
Expand Down

0 comments on commit fbf1194

Please sign in to comment.