From 23e4a8ab426a8e9b6f773d390ddbf3d1fd838b97 Mon Sep 17 00:00:00 2001 From: Paul Caselton Date: Sat, 4 Jul 2015 23:51:02 +0100 Subject: [PATCH 1/2] Removing rm line --- bin/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index 4833af9..eea3478 100755 --- a/bin/compile +++ b/bin/compile @@ -115,7 +115,7 @@ cd $CUR_DIR if [ -f $BUILD_DIR/nginx.conf.erb ] ; then echo "-----> using user provided nginx.conf.erb" cp $BUILD_DIR/nginx.conf.erb $BUILD_DIR/nginx/nginx.conf.erb - rm $BUILD_DIR/nginx.conf.erb + #rm $BUILD_DIR/nginx.conf.erb # ...else, force default file else From caa17b7718de1dbcb3ba360bd08d82c8894bb6e4 Mon Sep 17 00:00:00 2001 From: Paul C Date: Thu, 10 Sep 2015 18:57:55 +0100 Subject: [PATCH 2/2] Testing paths from other pack. --- bin/compile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/compile b/bin/compile index eea3478..adc4a40 100755 --- a/bin/compile +++ b/bin/compile @@ -108,6 +108,12 @@ else cp -r $CACHE_DIR/bin/* $BUILD_DIR/nginx/ fi +# Update the PATH +mkdir -p $BUILD_DIR/.profile.d +cat > $BUILD_DIR/.profile.d/nginx.sh <<"EOF" +export PATH="$PATH:$HOME/nginx" +EOF + cd $CUR_DIR