ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: shebang.reg: /usr/bin/env
Date: Fri, 7 Aug 2009 18:55:33 +0400
Message-ID: <20090807145533.GE3837@altlinux.org> (raw)
In-Reply-To: <1249651429.15789.17.camel@dinkum-thinkum.spb.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

On Fri, Aug 07, 2009 at 05:23:49PM +0400, Paul Wolneykien wrote:
>   Всем привет! :)
> 
>   Find-requires выдаёт мне следующее:
> 
>   shebang.req:
> ERROR: /usr/src/tmp/boinc-buildroot/usr/share/boinc-server/ops/wd_nresults_changing.php: too many arguments: #!/usr/bin/env php -q
> 
>   Может быть кто-нибудь знает, на что он намекает в данном случае? Если заглянуть в
> shebang.req, то там написано
> 
> *,/usr/bin/env)
> 	CheckArgs "$*"
>         Fatal "$f: too many arguments: $line"
>         ;;
> 
> Т.е., как я понимаю, Fatal будет всегда, если указан env, независимо от
> арнументов. Если это намёк на то, что env не нужно использовать, то
> почему об этом не написано явно, в сообщении об ошибке?

А Вы попробуйте запустить скрипт!

$ cat chlen
#!/usr/bin/env php -q
<?php print "chlen\n" ?>
$ ./chlen
/usr/bin/env: php -q: No such file or directory
$ 

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2009-08-07 14:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07 13:23 Paul Wolneykien
2009-08-07 13:38 ` Egor Vyscrebentsov
2009-08-07 14:55 ` Alexey Tourbin [this message]
2009-08-07 15:11   ` Paul Wolneykien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090807145533.GE3837@altlinux.org \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git