[lxc-devel] [lxc/master] sabayon: Use /bin/bash

stgraber on Github lxc-bot at linuxcontainers.org
Fri Feb 17 22:07:05 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 441 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170217/81719b23/attachment.bin>
-------------- next part --------------
From 4e133789e1f1f86bb476168d3c78dca7d7cdb053 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Fri, 17 Feb 2017 17:06:23 -0500
Subject: [PATCH] sabayon: Use /bin/bash
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The script is full of bashisms making it break when run with a simple
POSIX shell.

Signed-off-by: St├ęphane Graber <stgraber at ubuntu.com>
---
 templates/lxc-sabayon.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-sabayon.in b/templates/lxc-sabayon.in
index 675542b..2acd22c 100644
--- a/templates/lxc-sabayon.in
+++ b/templates/lxc-sabayon.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # vim: set ts=4 sw=4 expandtab
 
 # Exit on error and treat unset variables as an error.


More information about the lxc-devel mailing list