blob: 4e9eec389d37d6e2fd60cb920bc32798bcff013d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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 $dist_dir ] ; then mkdir $dist_dir; fi
if ! [ -d $prefix ] ; then mkdir $prefix; fi
# Reset our PATH
. /etc/profile
PATH="${PATH}:$prefix/usr/local/musl/bin:$prefix/usr/sbin:$prefix/usr/bin:$prefix/bin:$prefix/sbin"
|