From a5c39384a8b3ff82df8f2381babe0b116a5d38e4 Mon Sep 17 00:00:00 2001 From: Pierre Dulac Date: Sun, 20 Apr 2014 14:53:47 +0200 Subject: [PATCH] Use a default SLUG_ID value otherwise the build fails using the Heroku beta [builds api](https://gist.github.com/friism/c5df3e3e0091bbc6b9f2) --- bin/compile | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/compile b/bin/compile index 96eefa0..e44da19 100755 --- a/bin/compile +++ b/bin/compile @@ -37,6 +37,7 @@ export BPWATCH_STORE_PATH=$CACHE_DIR/bpwatch.json BUILDPACK_VERSION=v28 # Support Anvil Build_IDs +[ ! "$SLUG_ID" ] && SLUG_ID="defaultslug" [ ! "$REQUEST_ID" ] && REQUEST_ID=$SLUG_ID # Sanitizing environment variables.