diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-11 21:36:25 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-11 21:36:25 -0400 |
| commit | 2eecfae10050c1a4fcfacd1caa756d6d115afb1b (patch) | |
| tree | dfcc61c9db9f32507bdc2084d42022fe34b2b0e5 /inc | |
| download | min-2eecfae10050c1a4fcfacd1caa756d6d115afb1b.tar.gz min-2eecfae10050c1a4fcfacd1caa756d6d115afb1b.tar.xz | |
Initial
Diffstat (limited to 'inc')
| -rw-r--r-- | inc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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}" |
