aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/roms
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 15:41:17 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-30 15:41:17 +0100
commita8de16a388680e179f97fe2fdfbdb307fabc9b8e (patch)
tree2df61fd18f14602a40975df0f86a35dc370cfdbe /resources/scripts/helpers/build/roms
parentaf97439e96b64b1d0b638ed4a8dd6a1791ff6271 (diff)
downloadlibrebootfr-a8de16a388680e179f97fe2fdfbdb307fabc9b8e.tar.gz
librebootfr-a8de16a388680e179f97fe2fdfbdb307fabc9b8e.zip
build/roms/withgrub: don't use [[ bashism
Diffstat (limited to 'resources/scripts/helpers/build/roms')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index 943afbf1..1463e694 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -61,12 +61,12 @@ cd ../
# Build ROM images for supported boards
buildrom() {
board="$1"
- if [[ -f "resources/libreboot/config/grub/${board}/config" ]]; then
+ if [ -f "resources/libreboot/config/grub/${board}/config" ]; then
./build roms withgrub_helper "${board}"
fi
}
-if [[ $# -gt 0 ]]; then
+if [ $# -gt 0 ]; then
for board in "${@}"; do
buildrom "$board"
done