diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-06-06 21:58:19 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-06-06 21:58:19 (EDT) |
commit | 52b05b1595415f60cf8a73931db23cf500f0956b (patch) | |
tree | ae91fdebbbf3bc099ca650a5de6ff18f86a4cbdc /resources/scripts/helpers | |
parent | 061518cfbefb15e123536db2aaed289fea78b89e (diff) | |
download | libreboot-52b05b1595415f60cf8a73931db23cf500f0956b.zip libreboot-52b05b1595415f60cf8a73931db23cf500f0956b.tar.gz libreboot-52b05b1595415f60cf8a73931db23cf500f0956b.tar.bz2 |
Replace cp -r with cp -R
Today I learned that -R is portable, -r is not.
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-x | resources/scripts/helpers/build/external/source | 8 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/archives | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/resources/scripts/helpers/build/external/source b/resources/scripts/helpers/build/external/source index 520a004..31dc2fd 100755 --- a/resources/scripts/helpers/build/external/source +++ b/resources/scripts/helpers/build/external/source @@ -33,22 +33,22 @@ rm -f tobuild.tar.xz mkdir tobuild # flashrom -cp -r flashrom/ tobuild/ +cp -R flashrom/ tobuild/ cd tobuild/flashrom/ rm -f flashrom_lenovobios_sst flashrom_lenovobios_macronix make clean cd ../../ mkdir tobuild/resources/ mkdir tobuild/resources/flashrom/ -cp -r resources/flashrom/patch/ tobuild/resources/flashrom/ +cp -R resources/flashrom/patch/ tobuild/resources/flashrom/ # bucts -cp -r bucts tobuild/ +cp -R bucts tobuild/ cd tobuild/bucts/ make clean cd ../../ mkdir tobuild/resources/bucts/ -cp -r resources/bucts/patch/ tobuild/resources/bucts/ +cp -R resources/bucts/patch/ tobuild/resources/bucts/ # the build script will be needed cp build tobuild/ diff --git a/resources/scripts/helpers/build/release/archives b/resources/scripts/helpers/build/release/archives index ae1b21f..d48038a 100755 --- a/resources/scripts/helpers/build/release/archives +++ b/resources/scripts/helpers/build/release/archives @@ -76,7 +76,7 @@ mkdir libreboot_util # -------------- # X60/T60: BUC.TS utility is needed to flash libreboot while Lenovo BIOS is running # Include it statically compiled -cp -r bucts bucts_ +cp -R bucts bucts_ # make it statically compile ./build module bucts static mkdir libreboot_util/bucts/ @@ -90,7 +90,7 @@ mv bucts_/ bucts/ # ---------------- # Flashrom is used to install libreboot on supported targets # Include it statically compiled -cp -r flashrom flashrom_ +cp -R flashrom flashrom_ # make it statically compile ./build module flashrom static mkdir libreboot_util/flashrom @@ -108,7 +108,7 @@ mv flashrom_ flashrom # ---------------- # build cbfstool, compiled (statically linked) and include the binary cd coreboot/util/ -cp -r cbfstool cbfstool_ +cp -R cbfstool cbfstool_ cd cbfstool/ make clean make SHARED=0 CC='gcc -static' @@ -142,7 +142,7 @@ cd ../../ # ---------------- # build ich9deblob, compiled (statically linked) and include the binary cd resources/utilities/ -cp -r ich9deblob ich9deblob_ +cp -R ich9deblob ich9deblob_ cd ich9deblob/ make clean make SHARED=0 CC='gcc -static' @@ -182,7 +182,7 @@ cd ../../ # ----------------- # build nvramtool, compiled (statically linked) and include the binary cd coreboot/util/ -cp -r nvramtool nvramtool_ +cp -R nvramtool nvramtool_ cd nvramtool/ make clean make SHARED=0 CC='gcc -static' @@ -210,7 +210,7 @@ cd ../../ # ----------------- # build cbmem, compiled (statically linked) and include the binary cd coreboot/util/ -cp -r cbmem cbmem_ +cp -R cbmem cbmem_ cd cbmem/ make clean make SHARED=0 CC='gcc -static' @@ -260,7 +260,7 @@ mv libreboot_util.tar.xz release/ cp docs/release.html release/ cp docs/archive_old.html release/ cp docs/cc-by-sa-4.txt release/ -cp -r docs/css/ release/ +cp -R docs/css/ release/ # Create a symlink to the commitid file, in release/ cat commitid > release/commitid |