From: kvigor Date: Mon, 2 Oct 2000 23:39:22 +0000 (+0000) Subject: replace /usr/local/bin/perl shebang with ugly but hopefully more portable construct X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=31a80e1e0c1b3c65ee18ecd76dc4cabd69c9f386;p=fw%2Fsdcc replace /usr/local/bin/perl shebang with ugly but hopefully more portable construct git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@443 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/packihx b/src/packihx index 4956fe51..9a9ca2ab 100755 --- a/src/packihx +++ b/src/packihx @@ -1,4 +1,8 @@ -#!/usr/local/bin/perl -w +#!/bin/sh +exec perl -x "$0" "$@" +#!perl -w +# Real script begins here; the above ugliness should locate +# perl on your path. # Quick & dirty perl hack to pack an Intel Hex format output file. # Will consolidate lines up to $outChunk bytes per line.