fixed issue with directory name having spacing in name
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user