blob: 96d455b5f9355c8a18a93d7991ad1adfd56ad424 (
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="$prefix/usr/local/musl/bin:$prefix/usr/sbin:$prefix/usr/bin:$prefix/bin:$prefix/sbin:${PATH}"
|