You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Jan Lehnardt <ja...@apache.org> on 2013/05/20 14:13:24 UTC

Re: git commit: updated refs/heads/master to 2829e78

This should be reverted to /bin/sh for portability.

The fix is to remove bash-isms:

> checkbashisms test/javascript/run.tpl 
script test/javascript/run.tpl does not appear to be a /bin/sh script
possible bashism in test/javascript/run.tpl line 101 (bash arrays, ${name[0|*|@]}):
    for TEST_SRC in "${FILES[@]}"
possible bashism in test/javascript/run.tpl line 103 (bash arrays, ${name[0|*|@]}):
        echo -n "$COUNTER/${#FILES[@]} " 
possible bashism in test/javascript/run.tpl line 104 (let ...):
        let COUNTER=COUNTER+1

Wendall? :)

Jan
--



On May 17, 2013, at 17:13 , rnewson@apache.org wrote:

> Updated Branches:
>  refs/heads/master dab5386a6 -> 2829e7857
> 
> 
> See if using bash fixes Travis
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
> Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2829e785
> Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2829e785
> Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/2829e785
> 
> Branch: refs/heads/master
> Commit: 2829e78573e4481e06ad92249275c70370bbe32f
> Parents: dab5386
> Author: Robert Newson <rn...@apache.org>
> Authored: Fri May 17 16:13:04 2013 +0100
> Committer: Robert Newson <rn...@apache.org>
> Committed: Fri May 17 16:13:04 2013 +0100
> 
> ----------------------------------------------------------------------
> test/javascript/run.tpl |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/couchdb/blob/2829e785/test/javascript/run.tpl
> ----------------------------------------------------------------------
> diff --git a/test/javascript/run.tpl b/test/javascript/run.tpl
> index 1744e5d..2c785a6 100644
> --- a/test/javascript/run.tpl
> +++ b/test/javascript/run.tpl
> @@ -1,4 +1,4 @@
> -#!/bin/sh -e
> +#!/bin/bash -e
> 
> # Licensed under the Apache License, Version 2.0 (the "License"); you may not
> # use this file except in compliance with the License. You may obtain a copy of
>