From 886ef4b2cfceae8e61caaa4ad0b47e19968a1561 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Tue, 6 Jul 2021 17:05:55 -0700 Subject: [PATCH] sigh --- sync/sync-to-staging-sig.sh | 2 +- sync/sync-to-staging.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sync/sync-to-staging-sig.sh b/sync/sync-to-staging-sig.sh index 2741f19..2a25072 100644 --- a/sync/sync-to-staging-sig.sh +++ b/sync/sync-to-staging-sig.sh @@ -13,7 +13,7 @@ REV=${3} # Note, this should be lowercase. eg, storage. SIG=${4} -cd "/mnt/compose/${MAJ}/latest-${SHORT}-${MAJ}" || { echo "Failed to change directory"; ret_val=1; exit 1; } +cd "/mnt/compose/${MAJ}/latest-${SHORT}-${MAJ}/compose" || { echo "Failed to change directory"; ret_val=1; exit 1; } ret_val=$? if [ $ret_val -eq "0" ]; then diff --git a/sync/sync-to-staging.sh b/sync/sync-to-staging.sh index 07d8652..3a0c068 100644 --- a/sync/sync-to-staging.sh +++ b/sync/sync-to-staging.sh @@ -11,7 +11,7 @@ SHORT=${2} # The directory where we're going to, usually MAJOR.MINOR, sometimes it's MAJOR.MINOR-RCX REV=${3} -cd "/mnt/compose/${MAJ}/latest-${SHORT}-${MAJ}" || { echo "Failed to change directory"; ret_val=1; exit 1; } +cd "/mnt/compose/${MAJ}/latest-${SHORT}-${MAJ}/compose" || { echo "Failed to change directory"; ret_val=1; exit 1; } ret_val=$? if [ $ret_val -eq "0" ]; then