[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] r1545 - in octave-pkg-dev/trunk: . debian



On 31/03/08 16:01 +0000, Rafael Laboissiere wrote:
> Author: rafael
> Date: 2008-03-31 16:01:04 +0000 (Mon, 31 Mar 2008)
> New Revision: 1545
> 
> Modified:
>    octave-pkg-dev/trunk/debian/changelog
>    octave-pkg-dev/trunk/octave-pkg.mk.in
> Log:
> Avoid make failures if files PKG_ADD and/or PKG_ADD.bak do not exist
>  install-pkg:
> -	[ -e PKG_ADD ] && mv PKG_ADD PKG_ADD.bak
> +	[ -e PKG_ADD ] && mv PKG_ADD PKG_ADD.bak || true

I thought bash evaluates from left to right? I.e., if PKG_ADD doesn't
exist, the "mv" command should not be executed?

	Thomas



Reply to: