Debian Automated Code Analysis

checkbashisms analysis of wireshark_1.2.11-4.dsc

possible bashism in ./configure line 369 (should be >word 2>&1):
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
possible bashism in ./configure line 13457 (should be 'b = a'):
  if test "x$GCC" = "xyes" -a "x$enableval" == "xyes" -a "x$wireshark_extra_gcc_flags" != "xyes"; then
possible bashism in ./configure line 14920 (should be 'b = a'):
	if test x$have_ige_mac == x
possible bashism in ./packaging/macosx/Resources/script line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $VERSION -le 4 ]]; then
possible bashism in ./packaging/macosx/Resources/script line 30 ($UID should be "$(id -ru)"):
	rm -f /tmp/display.$UID
possible bashism in ./packaging/macosx/Resources/script line 33 ($UID should be "$(id -ru)"):
	open-x11 /tmp/getdisplay.sh || \
	open -a XDarwin /tmp/getdisplay.sh || \
	echo ":0" > /tmp/display.$UID
possible bashism in ./packaging/macosx/Resources/script line 35 ($UID should be "$(id -ru)"):
	while [ "$?" == "0" -a ! -f /tmp/display.$UID ]; do
possible bashism in ./packaging/macosx/Resources/script line 35 (should be 'b = a'):
	while [ "$?" == "0" -a ! -f /tmp/display.$UID ]; do
possible bashism in ./packaging/macosx/Resources/script line 38 ($UID should be "$(id -ru)"):
	export DISPLAY="`cat /tmp/display.$UID`"
possible bashism in ./packaging/macosx/Resources/openDoc line 13 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $VERSION -le 4 ]]; then
possible bashism in ./packaging/macosx/Resources/openDoc line 14 ($UID should be "$(id -ru)"):
        export "DISPLAY=`cat /tmp/display.$UID`"
possible bashism in ./packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh line 14 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ "$aquaStyle" == "" ]]; then
possible bashism in ./packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh line 14 (should be 'b = a'):
if [[ "$aquaStyle" == "" ]]; then
possible bashism in ./packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh line 21 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ "$hiliColor" == "" ]]; then
possible bashism in ./packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh line 21 (should be 'b = a'):
if [[ "$hiliColor" == "" ]]; then
possible bashism in ./packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/sync_osx_look.sh line 26 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ aquaStyle -eq 1 ]]; then
possible bashism in ./packaging/macosx/Resources/bin/wireshark line 36 (should be 'b = a'):
if [ "$APPNAME" == "wireshark" ] ; then # Apply GUI settings
possible bashism in ./packaging/macosx/Resources/bin/wireshark line 51 (alternative test command ([[ foo ]] should be [ foo ])):
	if [[ ! -e $HOME/.gtkrc-2.0 ]]; then
possible bashism in ./packaging/macosx/Resources/bin/getdisplay.sh line 7 (should be 'b = a'):
if [ "$DISPLAY"x == "x" ]; then
possible bashism in ./packaging/macosx/Resources/bin/getdisplay.sh line 8 ($UID should be "$(id -ru)"):
    echo :0 > /tmp/display.$UID
possible bashism in ./packaging/macosx/Resources/bin/getdisplay.sh line 10 ($UID should be "$(id -ru)"):
    echo $DISPLAY > /tmp/display.$UID

This report was generated on Thu, 16 Dec 2010 21:38:22 +0000, based on results by checkbashisms 2.10.65git5