Skip to content

Commit

Permalink
Updated download-app.sh and create-container.sh (spring-cloud#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
corneil authored Oct 6, 2022
1 parent cdf00fd commit 2bb12a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion local/create-container.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ "$ARCH" == "" ]; then
ARCH=amd64
;;
*)
if [[ "$PROCESSOR" == *"arm64"* ]]; then
if [[ "$PROCESSOR" == *"arm"* ]]; then
ARCH=arm64v8
fi
;;
Expand Down
3 changes: 2 additions & 1 deletion local/download-app.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function download_deps() {
if [ "$TS" != "" ] && [ "$DS" != "" ] && [ -f "$TARGET_FILE" ]; then
FD=$(date -r "$TARGET_FILE" +"%Y-%m-%d %H:%M:%S")
if [ "$FD" == "$DS" ]; then
echo "$TARGET_FILE has same timestamp ($FD) as $SOURCE."

echo "$(realpath --relative-to $PWD $TARGET_FILE) has same timestamp ($FD) as $SOURCE."
echo "Skipping download"
return 0
fi
Expand Down

0 comments on commit 2bb12a6

Please sign in to comment.