Return-Path: X-Original-To: apmail-oodt-commits-archive@www.apache.org Delivered-To: apmail-oodt-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 517A4EBA7 for ; Fri, 14 Dec 2012 00:34:19 +0000 (UTC) Received: (qmail 26222 invoked by uid 500); 14 Dec 2012 00:34:19 -0000 Delivered-To: apmail-oodt-commits-archive@oodt.apache.org Received: (qmail 26197 invoked by uid 500); 14 Dec 2012 00:34:19 -0000 Mailing-List: contact commits-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oodt.apache.org Delivered-To: mailing list commits@oodt.apache.org Received: (qmail 26189 invoked by uid 99); 14 Dec 2012 00:34:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 00:34:19 +0000 Date: Fri, 14 Dec 2012 00:34:19 +0000 (UTC) From: "Chris A. Mattmann (JIRA)" To: commits@oodt.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OODT-441) PGE task does dynamic replacement on bash conditionals MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OODT-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris A. Mattmann updated OODT-441: ----------------------------------- Fix Version/s: (was: 0.5) 0.6 - push out to 0.6 > PGE task does dynamic replacement on bash conditionals > ------------------------------------------------------ > > Key: OODT-441 > URL: https://issues.apache.org/jira/browse/OODT-441 > Project: OODT > Issue Type: Bug > Components: pge wrapper framework > Affects Versions: 0.3 > Reporter: Ricky Nguyen > Fix For: 0.6 > > > I want to do this in bash: > {code} > if [[ $x = 'hello' ]]; then > echo "goodbye" > fi > {code} > But the PGE script ends up like this: > {code} > if null]; then > echo "goodbye" > fi > {code} > Same thing happens if I do the following: > {code} > > if [test_expression]; then > echo "goodbye" > fi > > ... > > {code} > Or variations, such as: > {code} > > > > > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira