summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/dependencies
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 10:53:54 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-30 10:53:54 (EDT)
commit467d77bd0d191b38e5b2cc11e7ae4207fcb87b17 (patch)
tree4bde7e55ae3fb6910dc42a4853ad7cdd566364d5 /resources/scripts/helpers/build/dependencies
parent82e5f8d5fc8aa8bfe013b84460b296ce188ab7da (diff)
downloadlibreboot-467d77bd0d191b38e5b2cc11e7ae4207fcb87b17.zip
libreboot-467d77bd0d191b38e5b2cc11e7ae4207fcb87b17.tar.gz
libreboot-467d77bd0d191b38e5b2cc11e7ae4207fcb87b17.tar.bz2
more scripts: don't use the [[ bashism
Diffstat (limited to 'resources/scripts/helpers/build/dependencies')
-rwxr-xr-xresources/scripts/helpers/build/dependencies/parabola2
-rwxr-xr-xresources/scripts/helpers/build/dependencies/trisquel72
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/dependencies/parabola b/resources/scripts/helpers/build/dependencies/parabola
index 92a88be..1f4c462 100755
--- a/resources/scripts/helpers/build/dependencies/parabola
+++ b/resources/scripts/helpers/build/dependencies/parabola
@@ -24,7 +24,7 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-if [[ $EUID -ne 0 ]]; then
+if [ $EUID -ne 0 ]; then
printf "This script must be run as root\n"
exit 1
fi
diff --git a/resources/scripts/helpers/build/dependencies/trisquel7 b/resources/scripts/helpers/build/dependencies/trisquel7
index d3027f9..34625f7 100755
--- a/resources/scripts/helpers/build/dependencies/trisquel7
+++ b/resources/scripts/helpers/build/dependencies/trisquel7
@@ -21,7 +21,7 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-if [[ $EUID -ne 0 ]]; then
+if [ $EUID -ne 0 ]; then
printf "This script must be run as root\n"
exit 1
fi