fixed issue with directory name having spacing in name

This commit is contained in:
ag-tsotetsi
2026-02-07 20:53:40 +02:00
parent 6dd72420df
commit 6d83390aef
8 changed files with 43 additions and 44 deletions

View File

@@ -1,16 +1,16 @@
. $PROJECTDIR/build/binutils/package.env
. "$PROJECTDIR/build/binutils/package.env"
fetch $BINUTILS_URL
cd $SOURCES && tar xf binutils-$BINUTILS_VERSION.tar.xz && cd binutils-$BINUTILS_VERSION
cd "$SOURCES" && tar xf binutils-$BINUTILS_VERSION.tar.xz && cd binutils-$BINUTILS_VERSION
bootstrap() {
mkdir -p build && cd build
../configure \
--prefix=$SYSROOT/tools \
--with-sysroot=$SYSROOT \
--prefix="$SYSROOT/tools" \
--with-sysroot="$SYSROOT" \
--target=$TARGET \
--disable-nls \
--enable-gprofng=no \
@@ -50,4 +50,4 @@ case $1 in
esac
cd $SOURCES && rm -rf $SOURCES/binutils-$BINUTILS_VERSION
cd "$SOURCES" && rm -rf "$SOURCES/binutils-$BINUTILS_VERSION"