We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f403c19 commit a4515adCopy full SHA for a4515ad
1 file changed
bin/build.sh
@@ -33,8 +33,14 @@ if id "$DEPLOY_USER" >/dev/null 2>&1; then
33
exit
34
fi
35
36
+ # Use /mnt/data/tmp if it exists
37
+ TMP_DIR="/mnt/data/tmp"
38
+ if [ ! -d "$TMP_DIR" ]; then
39
+ TMP_DIR="/tmp"
40
+ fi
41
+
42
# Declare a fake HOME, so that cache and various config files can be created
- export HOME="/tmp/$DEPLOY_USER"
43
+ export HOME="$TMP_DIR/home-$DEPLOY_USER"
44
45
46
# Try to use PHP 8.2, or fallback to default version
0 commit comments