diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-06-11 01:30:48 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-06-11 01:30:48 +0100 |
commit | 12c50f7939c02db85f05830c4b9fccf464b3977a (patch) | |
tree | 42c0b72ee957cc2f70b442cefb14923b06cb8507 /resources/scripts/helpers/build/module/bucts | |
parent | 34270811fce1ecf0bcf3b1363b0dc3dbf284ab09 (diff) | |
download | librebootfr-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.gz librebootfr-12c50f7939c02db85f05830c4b9fccf464b3977a.zip |
all script: use a standard style
Based on the style used for the script in
resources/scripts/helpers/build/release/
Diffstat (limited to 'resources/scripts/helpers/build/module/bucts')
-rwxr-xr-x | resources/scripts/helpers/build/module/bucts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts index 34e1a37e..8f2a49ab 100755 --- a/resources/scripts/helpers/build/module/bucts +++ b/resources/scripts/helpers/build/module/bucts @@ -29,7 +29,7 @@ set -u -e printf "Building bucts\n" -cd bucts/ +cd "bucts/" buildtype="unknown" if (( $# != 1 )); then @@ -38,19 +38,19 @@ else buildtype="static" fi -if [ "$buildtype" = "static" ]; then - patch Makefile < ../resources/bucts/patch/staticlink.diff +if [ "${buildtype}" = "static" ]; then + patch "Makefile" < "../resources/bucts/patch/staticlink.diff" fi make clean make -if [ "$buildtype" = "static" ]; then - patch Makefile -R < ../resources/bucts/patch/staticlink.diff +if [ "${buildtype}" = "static" ]; then + patch "Makefile" -R < "../resources/bucts/patch/staticlink.diff" fi # done. go back to main directory -cd ../ +cd "../" printf "\n\n" |