blob: 5a229949f0bcfc46c4b251d49950283dde767124 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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}"
|