summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/module/bucts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-10 20:30:48 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-10 20:30:48 (EDT)
commit12c50f7939c02db85f05830c4b9fccf464b3977a (patch)
tree42c0b72ee957cc2f70b442cefb14923b06cb8507 /resources/scripts/helpers/build/module/bucts
parent34270811fce1ecf0bcf3b1363b0dc3dbf284ab09 (diff)
downloadlibreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.zip
libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.gz
libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.bz2
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-xresources/scripts/helpers/build/module/bucts12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts
index 34e1a37..8f2a49a 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"