From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Cc: Vladimir V Kamarzin <vvk@altlinux.ru>
Subject: [devel] cherry-2.0.cvs20060301-alt1
Date: Tue, 11 Sep 2007 20:19:16 +0400
Message-ID: <20070911161916.GN6051@solemn.turbinal> (raw)
[-- 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 --]
next reply other threads:[~2007-09-11 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 16:19 Alexey Tourbin [this message]
2007-09-12 5:05 ` Vladimir V. Kamarzin
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=20070911161916.GN6051@solemn.turbinal \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
--cc=vvk@altlinux.ru \
/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