[lxc-devel] [PATCH v2] lxc-version: use POSIX shell instead of bash

Natanael Copa ncopa at alpinelinux.org
Tue Nov 27 07:13:31 UTC 2012


There is no reason to depend on bash for a single echo.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
Changes v1 -> v2:
 - add signed-off-by

 src/lxc/lxc-version.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/lxc-version.in b/src/lxc/lxc-version.in
index 1bd055a..b6875da 100644
--- a/src/lxc/lxc-version.in
+++ b/src/lxc/lxc-version.in
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/bin/sh
 
 echo "lxc version: @PACKAGE_VERSION@"
-- 
1.8.0





More information about the lxc-devel mailing list