summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 8934b5e..1e8be57 100644
--- a/build.sh
+++ b/build.sh
@@ -45,7 +45,7 @@ pkg() {
"sync") curl -LO https://farajli.net/archive/"${package}".tar.gz ;;
"unpack") tar xf "${package}".tar.gz ;;
"compile") make -C "${package}" ;;
- "install") PREFIX="${BINDIR}" make -C "${package}" install ;;
+ "install") PREFIX=$(dirname "${BINDIR}") make -C "${package}" install ;;
"font_install") cp -r "${package}" "${FONTDIR}" ;;
?)
echo Invalid usage of pkg >&2