link cakephp tmp folder to /var/tmp

This has be done for docker builds
This commit is contained in:
Andrew Bauer 2018-01-15 21:01:02 -06:00 committed by GitHub
parent 4af48a5885
commit c0955e0043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -262,5 +262,15 @@ else
exit 31
fi
# Link the CakePHP tmp folder to /var/tmp
echo -n "Linking CakePHP folder to /var/tmp"
ln -sf /var/tmp "$ZM_PATH_WEB/api/app"
if [ "$?" = "0" ]; then
echo "OK"
else
echo "Failed"
exit 32
fi
echo ""
echo "All done"