severity 489699 wishlist
retitle 489699 [checkbashisms] Don't warn about reserved variables which are
initialised within the script
thanks
On Thu, 2008-07-24 at 19:21 +0300, Vlad Shakhov wrote:
> On Thu, Jul 24, 2008 at 1:27 AM, Adam D. Barratt
> <[EMAIL PROTECTED]> wrote:
> >>
> >> Yes, in this
On Mon, 2008-07-07 at 09:58 +0100, Adam D. Barratt wrote:
> Hi,
>
> Vlad Shakhov wrote, Monday, July 07, 2008 9:40 AM
>
> [...]
> > for HOSTNAME in "" "localhost" "$(hostname)" "$(hostname -f)"; do
> > if echo $DISPLAY | grep -q "^$HOSTNAME:0.*"; then
> [...]
> > possible bashism in test.sh lin
Hi,
Vlad Shakhov wrote, Monday, July 07, 2008 9:40 AM
[...]
for HOSTNAME in "" "localhost" "$(hostname)" "$(hostname -f)"; do
if echo $DISPLAY | grep -q "^$HOSTNAME:0.*"; then
[...]
possible bashism in test.sh line 6 ($HOST(TYPE|NAME)):
if echo $DISPLAY | grep -q "^$HOSTNAME:0.*"; then
Package: devscripts
Version: 2.10.20
Severity: normal
--- Please enter the report below this line. ---
$ cat test.sh
#!/bin/dash
set -e
for HOSTNAME in "" "localhost" "$(hostname)" "$(hostname -f)"; do
if echo $DISPLAY | grep -q "^$HOSTNAME:0.*"; then
NOSTART=yes
fi
done
$ dash ./te
4 matches
Mail list logo