]> xenbits.xensource.com Git - libvirt.git/commitdiff
run: use portable shell
authorEric Blake <eblake@redhat.com>
Sat, 23 Feb 2013 00:10:48 +0000 (17:10 -0700)
committerEric Blake <eblake@redhat.com>
Sat, 23 Feb 2013 00:16:12 +0000 (17:16 -0700)
Nothing in run required bash, except for the shebang.  On systems
where /bin/bash doesn't exist (I hit it on FreeBSD), using /bin/sh
instead fixes a 'make check' failure:
gmake[3]: Entering directory `/usr/home/dummy/libvirt/python'
  GEN    check-local
/usr/local/bin/bash: ../run: /bin/bash: bad interpreter: No such file or directory

* run.in: Use /bin/sh, not bash.

run.in

diff --git a/run.in b/run.in
index 845eef549403f3a36b10d685d8b14f4c750bd9e1..50635229a15dda7c8a35c2b098884bc4008e60ac 100644 (file)
--- a/run.in
+++ b/run.in
@@ -1,6 +1,6 @@
-#!/bin/bash -
+#!/bin/sh
 # libvirt 'run' programs locally script
-# Copyright (C) 2012 Red Hat, Inc.
+# Copyright (C) 2012-2013 Red Hat, 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