Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #7 from gorenje/fix_profiile_d_copy

Fix two issues i had when using the new buildpack code:
  • Loading branch information...
commit 78c256594a8b3a085de691ea745a74d0df7d8f98 2 parents 04fa33e + cbd56f8
@archaelus authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.