Return-Path: X-Original-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A1029288 for ; Tue, 31 Jan 2012 12:31:37 +0000 (UTC) Received: (qmail 26100 invoked by uid 500); 31 Jan 2012 12:31:37 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 26028 invoked by uid 500); 31 Jan 2012 12:31:36 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 26020 invoked by uid 99); 31 Jan 2012 12:31:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 12:31:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andy.seaborne.apache@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 12:31:26 +0000 Received: by mail-ww0-f43.google.com with SMTP id dr13so282120wgb.0 for ; Tue, 31 Jan 2012 04:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=oLfkGS0Oi1mpZnb51qFrDwTSkA0kEi5BkB3U0Orntuk=; b=XWUNhpUjz1+zG8Gy9qtvm1sdqhcS9FalupR0whp1QL1EX/n2SLBXPofL5DRczfGh4g pezGU19zH3sFicFKIsEaj/DW2ZSCOU17wePzzsZ9NJeVHmH0DPxptFLYxmhcJ7NsSfog tc+SmbOUS9fDT+1V4wcLEPI6UNkUh5tXfT6jI= Received: by 10.180.89.71 with SMTP id bm7mr3357751wib.20.1328013066542; Tue, 31 Jan 2012 04:31:06 -0800 (PST) Received: from [192.168.1.10] (cpc2-aztw23-2-0-cust671.aztw.cable.virginmedia.com. [94.171.234.160]) by mx.google.com with ESMTPS id q7sm37017459wix.5.2012.01.31.04.31.05 (version=SSLv3 cipher=OTHER); Tue, 31 Jan 2012 04:31:05 -0800 (PST) Sender: Andy Seaborne Message-ID: <4F27DF08.7090204@apache.org> Date: Tue, 31 Jan 2012 12:31:04 +0000 From: Andy Seaborne User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: jena-dev@incubator.apache.org Subject: Re: JENA shell scripts References: <20120131.101323.80624375.wwaites@tardis.ed.ac.uk> In-Reply-To: <20120131.101323.80624375.wwaites@tardis.ed.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 31/01/12 10:13, William Waites wrote: > The shell scripts that come with Jena start with #!/bin/bash. This is > a non-standard shell, meaning there is no guarantee that bash is > installed on a system or is installed in that location. BSD systems, > for example, have bash as a 3rd party add-on in > /usr/local/bin. Similarly for HP-UX and at least older Solaris. > > Nothing in the shell scripts uses any fancy features of bash, so > actually it is unnecessary. The attached patch changes these lines to > #!/bin/sh where we can expect a posix-compliant bourne shell to live. > > Cheers, > -w The scripts are produced by a script and a template. I've modified the template and rerun. We'll soon know ... /bin/sh on Ubuntu isn't bash. Elsewhere some scripts have bash-isms. Thanks, Andy