force bash for autogen.sh

This commit is contained in:
BVK Chaitanya 2010-08-23 14:07:29 +05:30
parent 40a4a8a9ed
commit 9e860d5437
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash
set -e

View file

@ -105,7 +105,7 @@ def var_add(var, value):
# Autogen constructs
#
def set_canonical_name_suffix(suffix): return "[+ % name `export cname=$(echo -n %s" + suffix + " | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]"
def set_canonical_name_suffix(suffix): return "[+ % name `export cname=$(echo %s" + suffix + " | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]"
def cname(): return "[+ % name `echo $cname` +]"
def rule(target, source, cmd):