From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 24 Sep 2007 13:03:01 +0400 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20070924090301.GS5297@solemn.turbinal> Mail-Followup-To: devel@lists.altlinux.org References: <20070923214814.GP5297@solemn.turbinal> <20070923230818.GR5297@solemn.turbinal> <20070924081418.GH13893@osdn.org.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="174LEMK6FKsSE/j4" Content-Disposition: inline In-Reply-To: <20070924081418.GH13893@osdn.org.ua> Subject: Re: [devel] =?koi8-r?b?ydPQz8zO0cXN2cUvzsXJ09DPzM7Rxc3ZxSDTy9LJ0NTZ?= 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: Mon, 24 Sep 2007 10:13:17 -0000 Archived-At: List-Archive: List-Post: --174LEMK6FKsSE/j4 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 24, 2007 at 11:14:18AM +0300, Michael Shigorin wrote: > On Mon, Sep 24, 2007 at 03:08:19AM +0400, Alexey Tourbin wrote: > > =F3 =CF=C4=CE=CF=CA =D3=D4=CF=D2=CF=CE=D9, =CB=C1=CB =C2=D9 =CE=C5=CB= =D2=C1=D3=C9=D7=CF "=D0=C5=D2=C5=D6=C9=CD=C1=D4=D8" (=D4=CF =C5=D3=D4=D8 = =C4=C5=CC=C1=D4=D8 > > =D4=CF, =DE=C5=C7=CF =CE=C5 =D0=D2=CF=D3=D1=D4). =F3 =C4=D2=D5=C7=CF= =CA =D3=D4=CF=D2=CF=CE=D9, =C9=D3=C8=CF=C4=D1 =C9=DA =D4=CF=C7=CF, =DE=D4=CF > > =D0=C1=CB=C5=D4 =D3=CF=C2=C9=D2=C1=C5=D4 "=D3=D2=C5=C4=CE=D9=CA maintai= ner", =D6=C1=D4=D8 =CE=C1=C4=CF =DE=C5=CD =CD=CF=D6=CE=CF > > =D3=C9=CC=D8=CE=C5=C5. >=20 > =E8=CF=D2=CF=DB=C9=CA =D3=CC=D5=DE=C1=CA =C4=CC=D1 warning =CE=C1 =C4=CC= =C9=D4=C5=CC=D8=CE=D9=CA =D0=C5=D2=C9=CF=C4 =D7=D2=C5=CD=C5=CE=C9 > (=D0=CF=CC=C7=CF=C4=C1-=C7=CF=C4), =D7=CF=D4 =D4=CF=CC=D8=CB=CF =CE=C5 = =D7=C9=D6=D5 =C4=CC=D1 =DC=D4=CF=C7=CF =D7=CF=DA=CD=CF=D6=CE=CF=D3=D4=C9 > =D7 =D3=CC=D5=DE=C1=C5 =C9=D3=CB=C1=CC=CB=C9 =DA=C1=D7=C9=D3=C9=CD=CF=D3= =D4=C5=CA. =EB=C1=CB =D2=C1=DA =C9 =D3=C4=C5=CC=C1=CC warning. =E5=D3=D4=D8 =D3=CB=D2= =C9=D0=D4=D9 shebang.req.files =C9 shebang.req, =CB=CF=D4=CF=D2=D9=CA =CF=C2=D2=C1=C2=C1=D4=D9=D7=C1=C0=D4 =D3=CB=D2=C9=D0= =D4=D9 =D3 #! =C9 =D3=D4=C1=D7=D1=D4 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D8 =CE= =C1 =C9=CE=D4=C5=D2=D0=D2=C5=D4=C1=D4=CF=D2. =E5=D3=CC=C9 =D3=CB=D2=C9=D0=D4 =CE=C5 =C9=D3=D0=CF=CC=CE=D1=C5=CD=D9=CA, s= hebang.req.files =C2=D5=C4=C5=D4 =D7=D9=C4=C1=D7=C1=D4=D8 warning "executable not executable". commit 8ee696768c491759e7815fc42c3347618115b342 Author: Alexey Tourbin Date: Mon Sep 24 02:57:42 2007 +0400 shebang.req.files: added "executable not executable" warning diff --git a/scripts/shebang.req.files b/scripts/shebang.req.files index e3c475a..2f4838e 100755 --- a/scripts/shebang.req.files +++ b/scripts/shebang.req.files @@ -1,5 +1,8 @@ #!/bin/sh -efu while IFS=3D$'\t' read -r f t; do - [ -z "${t##*script text executable*}" ] && - [ -x "$f" ] && echo "$f" ||: + case "$t" in + *"script text executable"*) + [ -x "$f" ] && echo "$f" || + echo "${0##*/}: executable script $f not executable" >&2 ;; + esac done --174LEMK6FKsSE/j4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG931FfBKgtDjnu0YRAn4IAKCB7SsNUT1j/v+PKGI14GG6wFWBbQCgwXEe GR8ZSKzbRVr70pGllgisTt4= =sKte -----END PGP SIGNATURE----- --174LEMK6FKsSE/j4--