because that tsxs is a bash, and that /bin/sh on FreeBSD is 'bsh' in the old age.
在 2013-6-7,上午12:24,James Peach <[email protected]> 写道: > On Jun 6, 2013, at 1:10 AM, [email protected] wrote: > >> Updated Branches: >> refs/heads/master af80e8590 -> 3f45624cb >> >> >> set tsxs to use env bash > > Why is this needed? > >> >> >> Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo >> Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/3f45624c >> Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/3f45624c >> Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/3f45624c >> >> Branch: refs/heads/master >> Commit: 3f45624cb4d5791593fcfa73969c2392a679d32f >> Parents: af80e85 >> Author: Zhao Yongming <[email protected]> >> Authored: Thu Jun 6 16:01:11 2013 +0800 >> Committer: Zhao Yongming <[email protected]> >> Committed: Thu Jun 6 16:09:28 2013 +0800 >> >> ---------------------------------------------------------------------- >> tools/tsxs.in | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> ---------------------------------------------------------------------- >> >> >> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3f45624c/tools/tsxs.in >> ---------------------------------------------------------------------- >> diff --git a/tools/tsxs.in b/tools/tsxs.in >> index 38fb25f..156a6bd 100755 >> --- a/tools/tsxs.in >> +++ b/tools/tsxs.in >> @@ -1,4 +1,4 @@ >> -#!/bin/sh >> +#!/usr/bin/env bash >> >> # Licensed to the Apache Software Foundation (ASF) under one >> # or more contributor license agreements. See the NOTICE file >> >
