mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-12-25 13:45:23 +00:00
fix: copy the new binary into the correct place
This commit is contained in:
parent
ad5e831e74
commit
6a99e870e4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user