summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/builder_common.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 605950d..0fc6dde 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -2132,8 +2132,7 @@ snapshots_scp_files() {
ssh ${RSYNCUSER}@${RSYNCIP} "rm -f ${RSYNCPATH}/.updaters/latest.tgz"
ssh ${RSYNCUSER}@${RSYNCIP} "rm -f ${RSYNCPATH}/.updaters/latest.tgz.sha256"
- LATESTFILENAME="`ls $UPDATESDIR/*.tgz | grep Full | grep -v md5 | grep -v sha256 | tail -n1`"
- LATESTFILENAME=`basename ${LATESTFILENAME}`
+ LATESTFILENAME=$(basename ${UPDATES_TARBALL_FILENAME})
ssh ${RSYNCUSER}@${RSYNCIP} "ln -s ${RSYNCPATH}/updates/${LATESTFILENAME} \
${RSYNCPATH}/.updaters/latest.tgz"
ssh ${RSYNCUSER}@${RSYNCIP} "ln -s ${RSYNCPATH}/updates/${LATESTFILENAME}.sha256 \
OpenPOWER on IntegriCloud