From 1817dca9887d2ea782be3c246b25264054981ec0 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Thu, 24 May 2012 09:44:25 +0200
Subject: [PATCH] kvm-ifup: Use /bin/bash
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

As reported by Ben Beuchler, kvm-ifup uses bash-specific constructs and
doesn't work with Ubuntu's default shell. We use bash all over the place
anyway, so changing the shebang line is the easiest solution.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: RenΓ© Nussbaumer <rn@google.com>
---
 tools/kvm-ifup.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/kvm-ifup.in b/tools/kvm-ifup.in
index 2ff8ccb52..2e8e0c23c 100644
--- a/tools/kvm-ifup.in
+++ b/tools/kvm-ifup.in
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
 #
 
-# Copyright (C) 2011 Google Inc.
+# Copyright (C) 2011, 2012 Google Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-- 
GitLab