aboutsummaryrefslogtreecommitdiff
path: root/adu-download
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2022-03-14 15:21:50 +0000
committerAdam Spragg <adam@spra.gg>2022-03-14 15:21:50 +0000
commit3b9bb2497e1c809ec3b5f7db40dd32c689e7ac47 (patch)
tree5d89a750a9f5507670a8573ac87cfde4a20aadfd /adu-download
parentab3461e792a3b9a525a895bb0b3a70e55955efb6 (diff)
Support setting PREFIX with `make PREFIX=...` "build" step
Diffstat (limited to 'adu-download')
-rwxr-xr-xadu-download3
1 files changed, 1 insertions, 2 deletions
diff --git a/adu-download b/adu-download
index 7d52205..dcc215e 100755
--- a/adu-download
+++ b/adu-download
@@ -20,8 +20,7 @@
set -e
-PREFIX=/usr/local
-SBINDIR="${PREFIX}/sbin"
+SBINDIR=/usr/local/sbin
UPDATE_SYMLINK="/system-update"
UPDATE_TARGET="${SBINDIR}/adu-upgrade"