From: "André Draszik" <git@andred.net>
To: yocto@yoctoproject.org
Subject: [meta-swupd][PATCH 1/2] oe-swupd-helpers: convert scripts to posix shell
Date: Mon, 21 Nov 2016 16:29:03 +0000 [thread overview]
Message-ID: <20161121162904.20027-1-git@andred.net> (raw)
From: André Draszik <adraszik@tycoint.com>
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>
---
recipes-core/swupd-client/oe-swupd-helpers/clr_pre_update.sh | 2 +-
recipes-core/swupd-client/oe-swupd-helpers/kernel_updater.sh | 2 +-
recipes-core/swupd-client/oe-swupd-helpers/systemdboot_updater.sh | 2 +-
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
--
2.10.2
next reply other threads:[~2016-11-21 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-21 16:29 André Draszik [this message]
2016-11-21 16:29 ` [meta-swupd][PATCH 2/2] swupd-client: don't unconditionally depend on bash André Draszik
2016-12-01 14:06 ` Patrick Ohly
2016-12-01 14:06 ` [meta-swupd][PATCH 1/2] oe-swupd-helpers: convert scripts to posix shell Patrick Ohly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161121162904.20027-1-git@andred.net \
--to=git@andred.net \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.