Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix two issues i had when using the new buildpack code: #7

Merged
merged 1 commit into from

2 participants

@gorenje

mkdir: cannot create directory `/app//.profile.d': File exists
! Heroku push rejected, failed to compile Erlang app

cp: cannot stat `/tmp/buildpack_bmoaig71iviz/opt/otp.sh': No such file or directory
! Heroku push rejected, failed to compile Erlang app

@gorenje gorenje Fix two issues i had when using the new buildpack code:
mkdir: cannot create directory `/app//.profile.d': File exists
 !     Heroku push rejected, failed to compile Erlang app

cp: cannot stat `/tmp/buildpack_bmoaig71iviz/opt/otp.sh': No such file or directory
 !     Heroku push rejected, failed to compile Erlang app
cbd56f8
@archaelus archaelus merged commit 78c2565 into archaelus:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 17, 2013
  1. @gorenje

    Fix two issues i had when using the new buildpack code:

    gorenje authored
    mkdir: cannot create directory `/app//.profile.d': File exists
     !     Heroku push rejected, failed to compile Erlang app
    
    cp: cannot stat `/tmp/buildpack_bmoaig71iviz/opt/otp.sh': No such file or directory
     !     Heroku push rejected, failed to compile Erlang app
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 2 deletions.
  1. +4 −2 bin/compile
View
6 bin/compile
@@ -59,7 +59,9 @@ if [ ${PIPESTATUS[0]} -ne 0 ]; then
exit 1
fi
-mkdir ${PROFILE}
-cp ${bpdir}/opt/otp.sh ${PROFILE}
+if [ -f ${bpdir}/opt/otp.sh ]; then
+ mkdir -p ${PROFILE}
+ cp ${bpdir}/opt/otp.sh ${PROFILE}
+fi
echo "-----> Build succeeded"
Something went wrong with that request. Please try again.