summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xflash2
-rwxr-xr-xresources/scripts/helpers/build/clean/grub2
-rwxr-xr-xresources/scripts/helpers/build/dependencies/parabola2
-rwxr-xr-xresources/scripts/helpers/build/dependencies/trisquel72
-rwxr-xr-xresources/scripts/helpers/build/module/grub2
-rwxr-xr-xresources/scripts/misc/powertop.trisquel72
6 files changed, 6 insertions, 6 deletions
diff --git a/flash b/flash
index 8c1249c..a00b797 100755
--- a/flash
+++ b/flash
@@ -25,7 +25,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/clean/grub b/resources/scripts/helpers/build/clean/grub
index af657f0..e4b4a65 100755
--- a/resources/scripts/helpers/build/clean/grub
+++ b/resources/scripts/helpers/build/clean/grub
@@ -30,7 +30,7 @@ set -u -e
cd "grub/"
printf "Cleaning the previous build of GRUB\n"
-[[ -f "Makefile" ]] && make distclean
+[ -f "Makefile" ] && make distclean
# done. go back to main directoy
cd "../"
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
diff --git a/resources/scripts/helpers/build/module/grub b/resources/scripts/helpers/build/module/grub
index 0e424a4..47589d5 100755
--- a/resources/scripts/helpers/build/module/grub
+++ b/resources/scripts/helpers/build/module/grub
@@ -33,7 +33,7 @@ printf "Building GRUB\n"
cd "grub/"
# clean it first
-[[ -f Makefile ]] && make distclean
+[ -f Makefile ] && make distclean
# build grub
./autogen.sh
diff --git a/resources/scripts/misc/powertop.trisquel7 b/resources/scripts/misc/powertop.trisquel7
index 215ae03..473c8e2 100755
--- a/resources/scripts/misc/powertop.trisquel7
+++ b/resources/scripts/misc/powertop.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