Skip to content

Commit

Permalink
Remove mac compatibility unix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg committed Jul 20, 2023
1 parent 47aca6e commit fb409b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set -Eeuo pipefail
shopt -s nullglob

cd "$(dirname "$(greadlink -f "$BASH_SOURCE")")"
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

declare branches=(
"stable"
Expand Down Expand Up @@ -184,7 +184,7 @@ for branch in "${branches[@]}"; do
packagever=$(get_packagever "$variant" "$branch")
buildtarget=$(get_buildtarget "$variant")

gsed -i.bak \
sed -i.bak \
-e 's,%%ALPINE_VERSION%%,'"$alpinever"',' \
-e 's,%%DEBIAN_VERSION%%,'"$debianver"',' \
-e 's,%%NGINX_VERSION%%,'"$nginxver"',' \
Expand Down

0 comments on commit fb409b4

Please sign in to comment.