Date: Wed, 5 Feb 2014 18:28:42 +0100 (CET) From: Mathieu Arnold <mat@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/186490: emulators/qemu-devel: Can't run scripts with shebang args. Message-ID: <20140205172842.794FE1426A2@aragorn.in.absolight.net> Resent-Message-ID: <201402051730.s15HU2oL052954@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186490 >Category: ports >Synopsis: emulators/qemu-devel: Can't run scripts with shebang args. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 17:30:02 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 10.0-RELEASE i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.in.absolight.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC >Description: When a script has a shebang with arguments, say "#!/usr/bin/perl -w" or "#!/bin/sh -" qemu-xxx tries to exec the whole line, and fails, obviously. e.g.: root@pkg:~ # cat test.pl #!/usr/bin/perl -w print "ok\n"; root@pkg:~ # ./test.pl Error loading /usr/bin/perl -w root@pkg:~ # ln -s /usr/local/bin/perl5.16.3 /usr/bin/"perl -w" root@pkg:~ # ./test.pl ok Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140205172842.794FE1426A2>