From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 21 Sep 2007 17:24:25 +0300 From: Michael Shigorin To: ALT Linux Team development discussions Message-ID: <20070921142425.GM13893@osdn.org.ua> Mail-Followup-To: ALT Linux Team development discussions References: <20070921130507.C27621CB49B0@ssh.git.local.altlinux.org> <20070921133750.GD372@basalt.office.altlinux.org> <679044850709210712m77de271fwf8a2a207ee125427@mail.gmail.com> <200709211721.05689.ledest@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200709211721.05689.ledest@gmail.com> User-Agent: Mutt/1.4.2.1i Subject: [devel] [JT] fortunes-ALT-devel! Re: [JT] [git update] packages/rpm: heads/mod [JT] X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 14:24:25 -0000 Archived-At: List-Archive: List-Post: On Fri, Sep 21, 2007 at 05:21:05PM +0300, Led wrote: > > > > if [ -n "${RPM_BUILD_ROOT-}" ] && [ -z "${rep##$RPM_BUILD_ROOT*}" > > > > ]; then > > > Этот код не будет работать правильно при пустом значении RPM_BUILD_ROOT. > > > Лучше заменить ${RPM_BUILD_ROOT-} на ${RPM_BUILD_ROOT:-}. > > Коллеги, если используете смайлики в шелл-скриптах, не > > забывайте пририсовывать им глазки! :-} > Однозначно - в fortunes!:) А толку, fortunes-ALT никто не занимается :( -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/