Fix More Permissions
Some checks failed
CI / Build (push) Has been cancelled

This commit is contained in:
TheBrokenRail 2025-03-20 16:02:07 -04:00
parent affc6cd929
commit a4f1271ac0
2 changed files with 10 additions and 6 deletions

View File

@ -4,8 +4,7 @@ set -e
# Store Output
OUT="$(pwd)/out"
rm -rf "${OUT}"
mkdir "${OUT}"
find "${OUT}" -type f -delete
# Build
cd workspace/build

View File

@ -25,8 +25,10 @@ CT_NAME='crosstool-ng'
CT_VERSION='1.27.0'
CT="${CT_NAME}-${CT_VERSION}"
# Source Files
# Directories
SRC="$(pwd)/src"
WORKSPACE="$(pwd)/workspace"
OUT="$(pwd)/out"
# Create Workspace
dir() {
@ -34,8 +36,7 @@ dir() {
mkdir "$1"
cd "$1"
}
dir workspace
WORKSPACE="$(pwd)"
dir "${WORKSPACE}"
# Build crosstools-ng
dir "${CT_NAME}"
@ -71,3 +72,7 @@ prepare() {
}
prepare x86_64 ''
prepare aarch64 'CT_CANADIAN=y\nCT_HOST="aarch64-linux-gnu"\n'
# Setup Output Directory
dir "${OUT}"
chmod -R o+rw .