#!/bin/bash -l

set -o errexit
set -o nounset
set -o pipefail

SUFFIX="${ROOTFS_SUFFIX-}"

source="stack-s3/cflinuxfs2$SUFFIX-*.tar.gz"
destination=stack-archive/cflinuxfs2$SUFFIX-$(cat version/number).tar.gz

mv "$source" "$destination"

#!/bin/bash -l

set -o errexit
set -o nounset
set -o pipefail

SUFFIX="${ROOTFS_SUFFIX-}"

source="stack-s3/cflinuxfs2$SUFFIX-*.tar.gz"
destination=stack-archive/cflinuxfs2$SUFFIX-$(cat version/number).tar.gz

# here, we actually want globbing, so:
# shellcheck disable=SC2086
mv $source "$destination"

Allow shell globbing so copy succeeds
Allow shell globbing so copy succeeds
