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