ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] cherry-2.0.cvs20060301-alt1
@ 2007-09-11 16:19 Alexey Tourbin
  2007-09-12  5:05 ` Vladimir V. Kamarzin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2007-09-11 16:19 UTC (permalink / raw)
  To: devel; +Cc: Vladimir V Kamarzin

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

> cherry-2.0.cvs20060301-alt1
> 	(Missing operator before ?)
> 	syntax error at /usr/src/tmp/cherry-buildroot/usr/lib/cherry/tariffsrv/CALC.pl line 2,
> 	near "/bin/sh "
> 	/usr/src/tmp/cherry-buildroot/usr/lib/cherry/tariffsrv/CALC.pl had compilation errors.
> 	# /usr/src/tmp/cherry-buildroot/usr/lib/cherry/tariffsrv/CALC.pl: deparse
> 	failed. isPerl=0.00157232704402516.
> 	error: /bin/sh failed

$ rpmpeek cherry-2.0.cvs20060301-alt1.noarch.rpm head -3 ./usr/lib/cherry/tariffsrv/CALC.pl
#!/bin/sh
su _cherry -s /bin/sh -c '/usr/lib/cherry/tariffsrv/crontab_fixed_calc.pl month'  | mail -s 'INFERNO: MONTHLY CALC REPORT' ugin@t72.ru
su _cherry -s /bin/sh -c /usr/lib/cherry/tariffsrv/crontab_monthly_detail_printed.pl  | mail -s 'INFERNO: CALC PRINTED PAGES' ugin@t72.ru
$

Мне не понятно, почему файл CALC.pl имеет расширение *.pl.
В соответствии с этим обстоятельством он определяется как перл скрипт.
Перл не может распарсить такой скрипт.

И вообще содержимое этого скрипта, в частности email адрес в каждой
строчке, наводит на мысль, что его в таком виде не следует паковать
в rpm-пакет.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-12  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-11 16:19 [devel] cherry-2.0.cvs20060301-alt1 Alexey Tourbin
2007-09-12  5:05 ` Vladimir V. Kamarzin

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