From patchwork Mon Sep 30 13:46:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 20707 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6854825E05 for ; Mon, 30 Sep 2013 13:47:32 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id db12sf5134559veb.10 for ; Mon, 30 Sep 2013 06:47:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=YV3POTN9z7bkohxgURx8EFC635QIfoUMCe3mx51pWaI=; b=aWjjuYF4NsjlptooC07Hf7h0sFOlx8CFPZxj1ofz/bfJ9llzylvDV74DpiLZGIFfEq z5y3MPaH7hEkAUy2ebOkYOYw0QTgkfPZ+9cKAxceHrH9JF6kplh0EbpGTL+HJ2hwnUdC 1h68oTsfwTX1ppgUK5/k6Z7DtivlTwQNXGjyf9n80wV4RouCPNieQoRhEFdMxhgNF5tv L35v2YEYO6VE0xvMi9B1aDstlDyRdmO8UZO9mhkEZkC+3wiVWCx4BW2bxHLq0jSM3gEL 3EHWswXgPhyB0NfnOa+M4keqSBZTg9GnzTcm83MUd/QEMAGfmueJELCREW2fUks4Cyye sn6g== X-Received: by 10.236.13.36 with SMTP id a24mr3705189yha.50.1380548851817; Mon, 30 Sep 2013 06:47:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.97.66 with SMTP id dy2ls2070373qeb.85.gmail; Mon, 30 Sep 2013 06:47:31 -0700 (PDT) X-Received: by 10.59.9.138 with SMTP id ds10mr22638217ved.5.1380548851728; Mon, 30 Sep 2013 06:47:31 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id 6si111630vei.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 06:47:31 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id jy13so3963016veb.20 for ; Mon, 30 Sep 2013 06:47:31 -0700 (PDT) X-Gm-Message-State: ALoCoQk3z0WMBs9lThSW8q/PuYKUg47TeH+2+caBCH8vHxMYRDKtC971pRnGz39uI3cbrql14zGG X-Received: by 10.52.24.4 with SMTP id q4mr504443vdf.34.1380548851634; Mon, 30 Sep 2013 06:47:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp107152vcz; Mon, 30 Sep 2013 06:47:30 -0700 (PDT) X-Received: by 10.14.103.69 with SMTP id e45mr4339168eeg.51.1380548850258; Mon, 30 Sep 2013 06:47:30 -0700 (PDT) Received: from afflict.kos.to (afflict.kos.to. [92.243.29.197]) by mx.google.com with ESMTPS id x43si512533eep.70.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 30 Sep 2013 06:47:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of voipio@kos.to designates 92.243.29.197 as permitted sender) client-ip=92.243.29.197; Received: from kos.to (a91-156-63-85.elisa-laajakaista.fi [91.156.63.85]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id 58F9426555 for ; Mon, 30 Sep 2013 15:47:28 +0200 (CEST) Received: from voipio (uid 1000) (envelope-from voipio@kos.to) id 5e0a1a by kos.to (DragonFly Mail Agent); Mon, 30 Sep 2013 16:47:26 +0300 From: Riku Voipio To: openembedded-devel@lists.openembedded.org Cc: patches@linaro.org, heinold@inf.fu-berlin.de, andrew.mcdermott@linaro.org, Riku Voipio Subject: [meta-java][PATCH 3/3] jamvm/java: allow spaces in arguments Date: Mon, 30 Sep 2013 16:46:11 +0300 Message-Id: <1380548771-13812-3-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1380548771-13812-1-git-send-email-riku.voipio@linaro.org> References: <1380548771-13812-1-git-send-email-riku.voipio@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Current IFS mangling blows up on the face: | configure:2341: javac -classpath .: Test.java | Invalid maximum heap size: -Xmx1024m-cp/srv/oe/b Simpler command line expansion works just as easy. --- recipes-core/jamvm/files/java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/recipes-core/jamvm/files/java b/recipes-core/jamvm/files/java index 27cf094..9a396a7 100755 --- a/recipes-core/jamvm/files/java +++ b/recipes-core/jamvm/files/java @@ -1,6 +1,5 @@ #!/bin/sh -IFS="" -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:STAGING_LIBDIR_NATIVE/classpath:STAGING_LIBDIR_NATIVE/jamvm" -export BOOTCLASSPATH="STAGING_DATADIR_NATIVE/jamvm/classes.zip:STAGING_DATADIR_NATIVE/classpath/glibj.zip" -exec jamvm ${1+"$@"} +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/srv/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/classpath:/srv/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/jamvm" +export BOOTCLASSPATH="/srv/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/jamvm/classes.zip:/srv/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/classpath/glibj.zip" +exec jamvm "$@"