summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-17 22:09:01 +0100
committerdavidovski <david@davidovski.xyz>2022-04-17 22:09:01 +0100
commit19fe66e50bb974ee67abd73a8d4b3d3c6e500c10 (patch)
tree883153601e896abd4d0393c79364bbf04d548690
parent26bb91a97630cd439811333b6a9e55755935dfab (diff)
fixed missing buildfile dir
-rwxr-xr-xbootstrap/bootstrap.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh
index bb091d5..0707520 100755
--- a/bootstrap/bootstrap.sh
+++ b/bootstrap/bootstrap.sh
@@ -4,6 +4,9 @@
## VERSIONS ##
# TODO move to a different package
+WD=$(pwd)/working
+BUILDFILES=$WD/buildfiles
+
getbuildfiles () {
[ -d $BUILDFILES ] && {
cd $BUILDFILES
@@ -57,7 +60,6 @@ FINDUTILS_VER=$(getversion findutils)
CURL_OPTS="-SsL"
-WD=$(pwd)/working
TARGET=x86_64-linux-musl
ARCH=x86
@@ -65,7 +67,6 @@ CPU=x86-64
CROSS_TOOLS=/cross-tools
TOOLS=/tools
-BUILDFILES=$WD/buildfiles
chroot=$(pwd)/chroot
PATH=${TOOLS}/bin:${CROSS_TOOLS}/bin:/usr/bin