aboutsummaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc b/inc
new file mode 100644
index 0000000..5a22994
--- /dev/null
+++ b/inc
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+base_dir="$(pwd)"
+# So we can source this and use it in the shell
+export prefix="$(pwd)/pfx"
+dist_dir="$(pwd)/distfiles"
+build_dir="$(pwd)/build"
+
+if ! [ -d $build_dir ] ; then mkdir $build_dir; fi
+if ! [ -d $prefix ] ; then mkdir $prefix; fi
+
+# Reset our PATH
+. /etc/profile
+
+PATH="$prefix/usr/local/musl/bin:$prefix/usr/sbin:$prefix/usr/bin:$prefix/bin:$prefix/sbin:${PATH}"