From c0955e00430292ac55907a81059e23056464afbf Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 15 Jan 2018 21:01:02 -0600 Subject: [PATCH] link cakephp tmp folder to /var/tmp This has be done for docker builds --- zmlinkcontent.sh.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zmlinkcontent.sh.in b/zmlinkcontent.sh.in index d6c791823..451605e04 100755 --- a/zmlinkcontent.sh.in +++ b/zmlinkcontent.sh.in @@ -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"