summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-05 23:40:43 +0100
committerdavidovski <david@davidovski.xyz>2022-05-05 23:40:43 +0100
commit472f7c5a06308a1dc3f0d73779378bfd5847212c (patch)
tree020a26a9d5c80b509c3021fef47517d3bce3fb10
parent10bc95fa1fa9ab64995c298614708a277488be52 (diff)
fixed xi_profile
-rw-r--r--xi_profile.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/xi_profile.sh b/xi_profile.sh
index 02684c7..327c294 100644
--- a/xi_profile.sh
+++ b/xi_profile.sh
@@ -10,7 +10,6 @@ export MAKEFLAGS="-j$JOBS"
export XORG_PREFIX="/usr"
export XORG_CONFIG="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static"
-export BUILD_ROOT="/build/source"
export RUST_TARGET="x86_64-unknown-linux-musl"
apply_patches () {
@@ -27,9 +26,9 @@ export BUILD_ROOT=$(realpath $2)
builds="$(ls *.xibuild | grep -v "$PKG_NAME.xibuild")"
for xibuild in $PKG_NAME.xibuild $(ls *.xibuild | grep -v "$PKG_NAME.xibuild"); do
- PKG_NAME=$(basename $xibuild .xibuild)
- mkdir -p ./xipkg/$PKG_NAME
- export PKG_DEST=$(realpath ./xipkg/$PKG_NAME)
+ SUBPKG_NAME=$(basename $xibuild .xibuild)
+ mkdir -p ./xipkg/$SUBPKG_NAME
+ export PKG_DEST=$(realpath ./xipkg/$SUBPKG_NAME)
echo "to install to $PKG_DEST"
echo "============$PKG_NAME============="