aboutsummaryrefslogtreecommitdiff
path: root/distro/_ubuntu_arm64_box86.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distro/_ubuntu_arm64_box86.sh')
-rwxr-xr-xdistro/_ubuntu_arm64_box86.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/distro/_ubuntu_arm64_box86.sh b/distro/_ubuntu_arm64_box86.sh
index 85f9bfa..d7633f9 100755
--- a/distro/_ubuntu_arm64_box86.sh
+++ b/distro/_ubuntu_arm64_box86.sh
@@ -3,7 +3,7 @@ set -ex
# Automatically install box86/box64 on ARM64 SBCs
# Largely based on:
# https://github.com/ptitSeb/box86/blob/master/docs/COMPILE.md
-codedir="$HOME/scm/pub"
+codedir="${CODEDIR:-$HOME/scm/pub}"
box86dir="$codedir/box86"
box64dir="$codedir/box64"
winedir="$HOME/wine"