Reverse the order of this diff so it makes more sense.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
22f1ca24d9
commit
eb05e7a138
@ -30,7 +30,7 @@ for kubeVersion in "${KUBE_VERSIONS[@]}"; do
|
|||||||
kubeMinorVersion="$(echo "${kubeVersion}" | cut -d"." -f1-2)"
|
kubeMinorVersion="$(echo "${kubeVersion}" | cut -d"." -f1-2)"
|
||||||
generatedVersionDir="${GENERATED_DIR}/${kubeMinorVersion}"
|
generatedVersionDir="${GENERATED_DIR}/${kubeMinorVersion}"
|
||||||
backupVersionDir="${BACKUP_DIR}/${kubeMinorVersion}"
|
backupVersionDir="${BACKUP_DIR}/${kubeMinorVersion}"
|
||||||
diff -Naupr "${generatedVersionDir}" "${backupVersionDir}" || ret=$?
|
diff -Naupr "${backupVersionDir}" "${generatedVersionDir}" || ret=$?
|
||||||
done
|
done
|
||||||
|
|
||||||
# If any of the versions differed, exit nonzero with an error message.
|
# If any of the versions differed, exit nonzero with an error message.
|
||||||
|
Loading…
Reference in New Issue
Block a user