Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 14569 invoked from network); 27 Jan 2011 22:24:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2011 22:24:36 -0000 Received: (qmail 36247 invoked by uid 500); 27 Jan 2011 22:24:33 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 36078 invoked by uid 500); 27 Jan 2011 22:24:33 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 36070 invoked by uid 99); 27 Jan 2011 22:24:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 22:24:33 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of oliver.schrenk@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bw0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 22:24:25 +0000 Received: by bwz14 with SMTP id 14so2799525bwz.30 for ; Thu, 27 Jan 2011 14:24:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=6ugsEQlzLF3LysuVXRh+hZQlgGjHVLdbYVF/bT/sybY=; b=tL13bGrZGi+vC1Uh4cwC6a3IHQ93IwonsGn1pglrmW3ghSrbmx6QMAVuH48kzDj57W Tva6eXshg0QGzh789W0eNOsci2vBVXzAajWKdpikhepB6I6tDscGnahuna2CSCrPKfG+ wYTQJH0A66Dy8QQ+YinvYOfSDfCKO7mN0RFnQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=r015uAHqHzqYAfsfupiztF0x29rvrhpf2pILVLUk99foE8u7a+0krb+Zja0a8G+KRo BlfdjYCh7GGCjpARXx+OhCY/n2Jf2gQL30Mp10WDpDoe44xVYT/xnRo9Hiin7+ETRkHC 63QJBOceVX4lKJqIlZqwyfxR6qaY9gElTf6IQ= Received: by 10.204.126.87 with SMTP id b23mr1788851bks.203.1296166931558; Thu, 27 Jan 2011 14:22:11 -0800 (PST) Received: from [192.168.1.2] (ip-62-143-206-17.unitymediagroup.de [62.143.206.17]) by mx.google.com with ESMTPS id j11sm8388976bka.0.2011.01.27.14.22.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 27 Jan 2011 14:22:10 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Keeping the executable bit on shell scripts when testing From: Oliver Schrenk In-Reply-To: <02AD65D3004729438FAF69A185DDFB5F78BB@CHO3WUC9MBX12.corp.transunion.com> Date: Thu, 27 Jan 2011 23:22:08 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <44A95BD2-2043-4F49-9836-C2B95895C707@gmail.com> References: <0CC0AAAD-61B9-4A4A-8E32-BFDC64C0DAA6@kathrynhuxtable.org> <8A5B2A23-1D91-4D20-A202-608236AFAF10@gmail.com> <02AD65D3004729438FAF69A185DDFB5F78BB@CHO3WUC9MBX12.corp.transunion.com> To: "Maven Users List" X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org No. That works fine. Its the application logic that get's in the way. = Maybe I find a workaround using `sh` but it'll be a few days I have time = to work on it again. Thanks. Best regards Oliver PS Throwing a crazy idea out there: Java7 rewrite for Maven using JSR203 = accessing POSIX file permissions =20 Am 27.01.2011 um 19:42 schrieb Haszlakiewicz, Eric: >> -----Original Message----- >> From: Oliver Schrenk [mailto:oliver.schrenk@gmail.com] >>=20 >> It's a good idea but not suitable for my case. If I'm calling sh, the = real >> script would be an argument.In my case this would break the test = cases for >> my command line argument validation tool. >=20 > cat > aa.sh < #!/bin/sh > echo 0:$0 > echo 1:$1 > EOF >> chmod +x aa.sh >> ./aa.sh > 0:./aa.sh > 1: >> ./aa.sh a > 0:./aa.sh > 1:a >> sh ./aa.sh a > 0:./aa.sh > 1:a >=20 > That looks exactly the same to me. What kind of shell are you using = that breaks this? >=20 > eric >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org