aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/module/bucts
diff options
context:
space:
mode:
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 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"