git.annexia.org
/
virt-what.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902276a
)
virt-what.in: remove bash-ism
author
A. Gordon
<assafgordon@gmail.com>
Mon, 15 Sep 2014 18:48:23 +0000
(14:48 -0400)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 16 Sep 2014 17:56:37 +0000
(18:56 +0100)
Use '/bin/sh' instead of '/bin/bash', with POSIX-compatible function
definitions.
virt-what.in
patch
|
blob
|
history
diff --git
a/virt-what.in
b/virt-what.in
index
c04203e
..
1532b90
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-1,4
+1,4
@@
-#!/bin/
ba
sh -
+#!/bin/sh -
# @configure_input@
# Copyright (C) 2008-2011 Red Hat Inc.
#
@@
-33,12
+33,12
@@
skip_qemu_kvm=false
VERSION="@VERSION@"
-f
unction fail
{
+f
ail()
{
echo "virt-what: $1" >&2
exit 1
}
-
function usage
{
+
usage()
{
echo "virt-what [options]"
echo "Options:"
echo " --help Display this help"