From a0fb19d24a9c7479085b1a18c4877c771cc5dd58 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Tue, 16 Jun 2020 14:14:13 -0400 Subject: [PATCH] seriously, it really is '-' on amazonlinux --- pkg/amazonlinux2016.09/entrypoint.sh | 6 +++--- pkg/dev/amazonlinux2016.09/entrypoint.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/amazonlinux2016.09/entrypoint.sh b/pkg/amazonlinux2016.09/entrypoint.sh index d3d68cbd7..da70c5157 100644 --- a/pkg/amazonlinux2016.09/entrypoint.sh +++ b/pkg/amazonlinux2016.09/entrypoint.sh @@ -166,11 +166,11 @@ fpm -s dir -t rpm \ etc/hubble opt usr /var/log/hubble_osquery/backuplogs # edit to change iteration number, if necessary -PKG_BASE_NAME=${HUBBLE_VERSION}-${HUBBLE_ITERATION} +PKG_BASE_NAME=hubblestack-${HUBBLE_VERSION}-${HUBBLE_ITERATION} PKG_OUT_EXT=x86_64.rpm PKG_FIN_EXT=al1609.$PKG_OUT_EXT -PKG_ONAME="hubblestack_$PKG_BASE_NAME.$PKG_OUT_EXT" -PKG_FNAME="hubblestack-$PKG_BASE_NAME.$PKG_FIN_EXT" +PKG_ONAME="$PKG_BASE_NAME.$PKG_OUT_EXT" +PKG_FNAME="$PKG_BASE_NAME.$PKG_FIN_EXT" cp -va "$PKG_ONAME" /data/"$PKG_FNAME" openssl dgst -sha256 /data/"$PKG_FNAME" > /data/"$PKG_FNAME".sha256 diff --git a/pkg/dev/amazonlinux2016.09/entrypoint.sh b/pkg/dev/amazonlinux2016.09/entrypoint.sh index d3d68cbd7..da70c5157 100644 --- a/pkg/dev/amazonlinux2016.09/entrypoint.sh +++ b/pkg/dev/amazonlinux2016.09/entrypoint.sh @@ -166,11 +166,11 @@ fpm -s dir -t rpm \ etc/hubble opt usr /var/log/hubble_osquery/backuplogs # edit to change iteration number, if necessary -PKG_BASE_NAME=${HUBBLE_VERSION}-${HUBBLE_ITERATION} +PKG_BASE_NAME=hubblestack-${HUBBLE_VERSION}-${HUBBLE_ITERATION} PKG_OUT_EXT=x86_64.rpm PKG_FIN_EXT=al1609.$PKG_OUT_EXT -PKG_ONAME="hubblestack_$PKG_BASE_NAME.$PKG_OUT_EXT" -PKG_FNAME="hubblestack-$PKG_BASE_NAME.$PKG_FIN_EXT" +PKG_ONAME="$PKG_BASE_NAME.$PKG_OUT_EXT" +PKG_FNAME="$PKG_BASE_NAME.$PKG_FIN_EXT" cp -va "$PKG_ONAME" /data/"$PKG_FNAME" openssl dgst -sha256 /data/"$PKG_FNAME" > /data/"$PKG_FNAME".sha256