From owner-freebsd-ports@FreeBSD.ORG Wed May 1 19:21:57 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 584F3C3E for ; Wed, 1 May 2013 19:21:57 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC37104A for ; Wed, 1 May 2013 19:21:57 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id e11so2311402iej.16 for ; Wed, 01 May 2013 12:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Yqj5oyCbcjftuuHTaRSMVRoyZaxBtsr3wLYCf+b/eUg=; b=KNROY8cAUQ3uV6ZKf4DaZTM78GVsq9+9QHZYIpPiNwnA2qm8kZ+giTLbEBLqWbMwoS ym1g6zXcKvm8HQh2ywZcS82ST3O+oZ0L3mCZar6SSBEB3fJGPdJsMOzBu5H4Wk9EivdM M1mnpxk9piWb5g7IHWPlzriJoJ1Xq7GQXd3OuYWBjTJLWUEG6RbjSk3JjCX+fkRNN6dT jD9G6KfW26ps8oo4JHoivTatskc9uKr0uZKF77+g9d++jT5/MQFbADhZ5+Hl/B6leJ63 /keqwSq/eSfT9ImJCnpz+MaR5QoBP+w5z8M3JwgYLjOrDLeQW0F4JkLajnNJghJJA5NV OLoQ== MIME-Version: 1.0 X-Received: by 10.50.42.165 with SMTP id p5mr13892205igl.75.1367436116952; Wed, 01 May 2013 12:21:56 -0700 (PDT) Received: by 10.64.58.52 with HTTP; Wed, 1 May 2013 12:21:56 -0700 (PDT) Received: by 10.64.58.52 with HTTP; Wed, 1 May 2013 12:21:56 -0700 (PDT) In-Reply-To: <1786370.b1sXK5t6Pv@pcoliver.heesakkers.info> References: <20130430103821.GJ3577@ithaqua.etoilebsd.net> <1786370.b1sXK5t6Pv@pcoliver.heesakkers.info> Date: Wed, 1 May 2013 20:21:56 +0100 Message-ID: Subject: Re: [BRAINSTORM] shebang fixing framework From: Chris Rees To: Oliver Heesakkers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2013 19:21:57 -0000 On 1 May 2013 20:18, "Oliver Heesakkers" wrote: > > Op di 30 apr 2013 12:38:21 schreef Baptiste Daroussin: > > Hi all, > > > > For a while now: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/51152we > > are looking for a framework/helpers to help patching scripts shebang so > > that they fit where the interpreters is on FreeBSD. > > > (...) > > In there you wrote a patch using /usr/bin/env. Why not stick with that? I'm > quite fond of this technique as it's clean and portable. > > Portability might not be that important when working on a fix for ports alone, > but still makes sense to me. On the contrary, it teaches good habits to people. Writing portable code also means it's less likely to break. Chris