diff options
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-x | resources/scripts/helpers/build/clean/rom_images | 2 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/external/source | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/archives | 18 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/roms/helper | 6 |
4 files changed, 15 insertions, 15 deletions
diff --git a/resources/scripts/helpers/build/clean/rom_images b/resources/scripts/helpers/build/clean/rom_images index 02833c3..3a7d90c 100755 --- a/resources/scripts/helpers/build/clean/rom_images +++ b/resources/scripts/helpers/build/clean/rom_images @@ -28,7 +28,7 @@ set -u -e # -------------------------------------------------------- # delete the bin/ directory -rm -rf bin/ +rm -Rf bin/ printf "Deleted the bin/ directory containing the ROM images.\n\n" diff --git a/resources/scripts/helpers/build/external/source b/resources/scripts/helpers/build/external/source index 31dc2fd..e6b9209 100755 --- a/resources/scripts/helpers/build/external/source +++ b/resources/scripts/helpers/build/external/source @@ -26,7 +26,7 @@ set -u -e printf "Creating source archive for flashrom and bucts\n" # delete the old data -rm -rf tobuild +rm -Rf tobuild rm -f tobuild.tar.xz # this is where they will go @@ -68,6 +68,6 @@ cp resources/scripts/misc/powertop.trisquel7 tobuild/ tar -c tobuild | xz -9e >tobuild.tar.xz # and delete the directory -rm -rf tobuild/ +rm -Rf tobuild/ printf "\n\n" diff --git a/resources/scripts/helpers/build/release/archives b/resources/scripts/helpers/build/release/archives index d48038a..1795df0 100755 --- a/resources/scripts/helpers/build/release/archives +++ b/resources/scripts/helpers/build/release/archives @@ -55,8 +55,8 @@ cat .git/refs/heads/master > commitid printf "Deleting the old release archives\n" rm -f libreboot_*.tar.xz rm -f tobuild.tar.xz -rm -rf release/ -rm -rf tobuild/ +rm -Rf release/ +rm -Rf tobuild/ # ### Create the release/ directory where the archives will go # ---------------------------------------------------------------------------------------------------------------------------- @@ -82,7 +82,7 @@ cp -R bucts bucts_ mkdir libreboot_util/bucts/ mkdir libreboot_util/bucts/"$arch"/ mv bucts/bucts libreboot_util/bucts/"$arch"/ -rm -rf bucts/ +rm -Rf bucts/ mv bucts_/ bucts/ # ---------------- @@ -100,7 +100,7 @@ mv flashrom ../libreboot_util/flashrom/"$arch" mv flashrom_lenovobios_sst ../libreboot_util/flashrom/"$arch" mv flashrom_lenovobios_macronix ../libreboot_util/flashrom/"$arch" cd ../ -rm -rf flashrom +rm -Rf flashrom mv flashrom_ flashrom # ---------------- @@ -133,7 +133,7 @@ mkdir ../../../libreboot_util/cbfstool/armv7l mv cbfstool ../../../libreboot_util/cbfstool/armv7l/ cd ../ -rm -rf cbfstool +rm -Rf cbfstool mv cbfstool_ cbfstool cd ../../ @@ -173,7 +173,7 @@ mv ich9gen ../../../libreboot_util/ich9deblob/armv7l/ mv demefactory ../../../libreboot_util/ich9deblob/armv7l/ cd ../ -rm -rf ich9deblob +rm -Rf ich9deblob mv ich9deblob_ ich9deblob cd ../../ @@ -201,7 +201,7 @@ if [ "$arch" = "x86_64" ] fi cd ../ -rm -rf nvramtool +rm -Rf nvramtool mv nvramtool_ nvramtool cd ../../ @@ -228,7 +228,7 @@ if [ "$arch" = "x86_64" ] mv cbmem ../../../libreboot_util/cbmem/i686/ fi cd ../ -rm -rf cbmem +rm -Rf cbmem mv cbmem_ cbmem cd ../../ @@ -271,7 +271,7 @@ printf "\n\n" # ---------------------------------------------------------------------------------------------------------------------------- # The uncompressed archives are no longer needed -rm -rf libreboot_util +rm -Rf libreboot_util # For those utilities that have to be built on the target ./build external source diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper index aa2dcc7..a89ea57 100755 --- a/resources/scripts/helpers/build/roms/helper +++ b/resources/scripts/helpers/build/roms/helper @@ -103,20 +103,20 @@ do done # This config-less ROM is no longer needed - rm -rf "$1"_"$romtype".rom + rm -Rf "$1"_"$romtype".rom done # Now we clean up and prepare the bin directory containing all the images # ---------------------------------------------------------------------------------------------------------------------------- # prepare directory for new ROM images -rm -rf "$1" +rm -Rf "$1" mkdir "$1" # move the ROM's into the newly created directory mv "$1"*rom "$1" # delete the old ROM's from ../bin -rm -rf ../bin/"$1" +rm -Rf ../bin/"$1" # now put the new ROM's in ./bin mv "$1" ../bin |