[lxc-devel] [PATCH] lxc-version: use POSIX shell instead of bash
Natanael Copa
ncopa at alpinelinux.org
Mon Nov 26 21:19:21 UTC 2012
There is no reason to depend on bash for a single echo.
---
Should we move this to lxc-info --version?
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