1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-26 05:55:24 +00:00

fix: copy the new binary into the correct place

This commit is contained in:
Jose Diaz-Gonzalez 2022-09-10 20:42:01 -04:00
parent ad5e831e74
commit 6a99e870e4

View File

@ -71,11 +71,10 @@ if [[ ! -f "sigil" ]]; then
echo "-----> Download and unzip sigil ${SIGIL_VERSION} via http" echo "-----> Download and unzip sigil ${SIGIL_VERSION} via http"
curl -sSL "https://github.com/gliderlabs/sigil/releases/download/v${SIGIL_VERSION}/gliderlabs-sigil_${SIGIL_VERSION}_linux_amd64.tgz" -o "${SIGIL_TARBALL}" curl -sSL "https://github.com/gliderlabs/sigil/releases/download/v${SIGIL_VERSION}/gliderlabs-sigil_${SIGIL_VERSION}_linux_amd64.tgz" -o "${SIGIL_TARBALL}"
tar xzf "${SIGIL_TARBALL}" && rm -rf "${SIGIL_TARBALL}" tar xzf "${SIGIL_TARBALL}" && rm -rf "${SIGIL_TARBALL}"
ls -lah .
fi fi
mkdir -p "$BUILD_DIR/sigil" mkdir -p "$BUILD_DIR/sigil"
cp -r sigil "$BUILD_DIR/sigil/" cp -r gliderlabs-sigil-amd64 "$BUILD_DIR/sigil/sigil"
cd "nginx-${NGINX_VERSION}" cd "nginx-${NGINX_VERSION}"
if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then