From 75ad04069da4b47d220a0e461f42292a68ef3ea5 Mon Sep 17 00:00:00 2001 From: ag-tsotetsi Date: Sun, 8 Feb 2026 11:43:43 +0200 Subject: [PATCH] removed redundant sections --- build/bash/build.bash | 3 +-- build/binutils/build.bash | 3 +-- build/coreutils/build.bash | 2 +- build/gcc/build.bash | 2 +- build/glibc/build.bash | 2 +- build/libstdc++/build.bash | 2 +- build/linux/build.bash | 2 +- build/m4/build.bash | 3 +-- build/ncurses/build.bash | 3 +-- 9 files changed, 9 insertions(+), 13 deletions(-) diff --git a/build/bash/build.bash b/build/bash/build.bash index 749af78..20b217a 100644 --- a/build/bash/build.bash +++ b/build/bash/build.bash @@ -1,4 +1,3 @@ - . "$PROJECTDIR/build/bash/package.env" fetch $BASH_URL @@ -46,4 +45,4 @@ case $1 in esac -cd "$SOURCES" && rm -rf "$SOURCES/bash-$BASH_VERSION" +rm -rf "$SOURCES/bash-$BASH_VERSION" diff --git a/build/binutils/build.bash b/build/binutils/build.bash index 468a515..a86fc49 100644 --- a/build/binutils/build.bash +++ b/build/binutils/build.bash @@ -49,5 +49,4 @@ case $1 in ;; esac - -cd "$SOURCES" && rm -rf "$SOURCES/binutils-$BINUTILS_VERSION" \ No newline at end of file +rm -rf "$SOURCES/binutils-$BINUTILS_VERSION" \ No newline at end of file diff --git a/build/coreutils/build.bash b/build/coreutils/build.bash index 3236c75..58ab6bc 100644 --- a/build/coreutils/build.bash +++ b/build/coreutils/build.bash @@ -49,4 +49,4 @@ case $1 in esac -cd "$SOURCES" && rm -rf coreutils-$COREUTILS_VERSION +rm -rf "$SOURCES/coreutils-$COREUTILS_VERSION" diff --git a/build/gcc/build.bash b/build/gcc/build.bash index 81beeea..9cabd5f 100644 --- a/build/gcc/build.bash +++ b/build/gcc/build.bash @@ -79,4 +79,4 @@ case $1 in esac -cd "$SOURCES" && rm -rf "$SOURCES/gcc-$GCC_VERSION" +rm -rf "$SOURCES/gcc-$GCC_VERSION" diff --git a/build/glibc/build.bash b/build/glibc/build.bash index 8aa4ab8..70a76c1 100644 --- a/build/glibc/build.bash +++ b/build/glibc/build.bash @@ -58,4 +58,4 @@ case $1 in esac -cd "$SOURCES" && rm -rf "$SOURCES/glibc-$GLIBC_VERSION" +rm -rf "$SOURCES/glibc-$GLIBC_VERSION" diff --git a/build/libstdc++/build.bash b/build/libstdc++/build.bash index 01f52a8..d5cd421 100644 --- a/build/libstdc++/build.bash +++ b/build/libstdc++/build.bash @@ -49,4 +49,4 @@ case $1 in ;; esac -cd "$SOURCES" && rm -rf "$SOURCES/gcc-$GCC_VERSION" +rm -rf "$SOURCES/gcc-$GCC_VERSION" diff --git a/build/linux/build.bash b/build/linux/build.bash index c738b1f..9091f18 100644 --- a/build/linux/build.bash +++ b/build/linux/build.bash @@ -40,4 +40,4 @@ case $1 in esac -cd "$SOURCES" && rm -rf "$SOURCES/linux-$LINUX_VERSION" +rm -rf "$SOURCES/linux-$LINUX_VERSION" diff --git a/build/m4/build.bash b/build/m4/build.bash index 3d662cd..395d19d 100644 --- a/build/m4/build.bash +++ b/build/m4/build.bash @@ -1,4 +1,3 @@ - . "$PROJECTDIR/build/m4/package.env" fetch $M4_URL @@ -46,4 +45,4 @@ case $1 in esac -cd "$SOURCES" && rm -rf "$SOURCES/m4-$M4_VERSION" +rm -rf "$SOURCES/m4-$M4_VERSION" diff --git a/build/ncurses/build.bash b/build/ncurses/build.bash index 4dfe672..d0a2f46 100644 --- a/build/ncurses/build.bash +++ b/build/ncurses/build.bash @@ -1,4 +1,3 @@ - . "$PROJECTDIR/build/ncurses/package.env" fetch $NCURSES_URL @@ -63,4 +62,4 @@ case $1 in esac -cd "$SOURCES" && rm -rf "$SOURCES/ncurses-$NCURSES_VERSION" +rm -rf "$SOURCES/ncurses-$NCURSES_VERSION"