[PATCH] buildrpm: use bash shebang, since we use bash features in the script

Mathias De Maré mathias.demare at gmail.com
Fri Jan 15 15:22:45 UTC 2016


# HG changeset patch
# User Mathias De Maré <mathias.demare at gmail.com>
# Date 1452870985 -3600
#      Fri Jan 15 16:16:25 2016 +0100
# Node ID 649c3d63ce7112beb55ec4d0f77ff401eb89b97b
# Parent  63116d47cc3fd179c90b117397cc26341a381edb
buildrpm: use bash shebang, since we use bash features in the script

As suggested by Bryan O'Sullivan.

diff --git a/contrib/buildrpm b/contrib/buildrpm
--- a/contrib/buildrpm
+++ b/contrib/buildrpm
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
 #
 # Build a Mercurial RPM from the current repo
 #


More information about the Mercurial-devel mailing list