aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Draszik <adraszik@tycoint.com>2016-11-21 16:29:03 +0000
committerPatrick Ohly <patrick.ohly@intel.com>2016-12-08 14:07:07 +0100
commit5a2b0b6d8d26d6d8ce4b676e851adb563728bc27 (patch)
tree326798e68bf96289a1906297046fcfea69e41bae
parent698328b76f745b6fc98af415e5837e4fa3ec1c86 (diff)
downloadmeta-swupd-5a2b0b6d8d26d6d8ce4b676e851adb563728bc27.tar.gz
meta-swupd-5a2b0b6d8d26d6d8ce4b676e851adb563728bc27.tar.bz2
meta-swupd-5a2b0b6d8d26d6d8ce4b676e851adb563728bc27.zip
oe-swupd-helpers: convert scripts to posix shell
These scripts don't do much and there's no reason for them to require bash as interpreter. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
-rwxr-xr-xrecipes-core/swupd-client/oe-swupd-helpers/clr_pre_update.sh2
-rwxr-xr-xrecipes-core/swupd-client/oe-swupd-helpers/kernel_updater.sh2
-rwxr-xr-xrecipes-core/swupd-client/oe-swupd-helpers/systemdboot_updater.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/recipes-core/swupd-client/oe-swupd-helpers/clr_pre_update.sh b/recipes-core/swupd-client/oe-swupd-helpers/clr_pre_update.sh
index 6302090..835948d 100755
--- a/recipes-core/swupd-client/oe-swupd-helpers/clr_pre_update.sh
+++ b/recipes-core/swupd-client/oe-swupd-helpers/clr_pre_update.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -u
#######################################
diff --git a/recipes-core/swupd-client/oe-swupd-helpers/kernel_updater.sh b/recipes-core/swupd-client/oe-swupd-helpers/kernel_updater.sh
index b0d5335..98e12c2 100755
--- a/recipes-core/swupd-client/oe-swupd-helpers/kernel_updater.sh
+++ b/recipes-core/swupd-client/oe-swupd-helpers/kernel_updater.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#######################################
# This script will be called after an updated kernel has been installed
diff --git a/recipes-core/swupd-client/oe-swupd-helpers/systemdboot_updater.sh b/recipes-core/swupd-client/oe-swupd-helpers/systemdboot_updater.sh
index 470cd6e..19f025d 100755
--- a/recipes-core/swupd-client/oe-swupd-helpers/systemdboot_updater.sh
+++ b/recipes-core/swupd-client/oe-swupd-helpers/systemdboot_updater.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#######################################
# systemd bootloader installer