Debian Automated Code Analysis

checkbashisms analysis of s390-tools_1.8.3-3.dsc

possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 30 ('function' is useless):
function check ()
possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 45 ('function' is useless):
function build ()
possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 108 (should be 'b = a'):
	if [ "$RD_FS" == "romfs" ]
possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 117 (should be 'b = a'):
	elif [ "$RD_FS" == "ext2" ]
possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 167 ('function' is useless):
function cleanup()
possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 180 ('function' is useless):
function install()
possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 189 (should be 'b = a'):
if [ "$1" == "-r" ]
possible bashism in ./zfcpdump/ramdisk/create_rd.sh line 192 (should be 'b = a'):
elif [ "$1" == "-i" ]
possible bashism in ./zfcpdump/kernel/create_kernel.sh line 24 ('function' is useless):
function check ()
possible bashism in ./zfcpdump/kernel/create_kernel.sh line 39 ('function' is useless):
function build ()
possible bashism in ./zfcpdump/kernel/create_kernel.sh line 95 ('function' is useless):
function cleanup()
possible bashism in ./zfcpdump/kernel/create_kernel.sh line 104 ('function' is useless):
function install()
possible bashism in ./zfcpdump/kernel/create_kernel.sh line 114 (should be 'b = a'):
if [ "$1" == "-r" ]
possible bashism in ./zfcpdump/kernel/create_kernel.sh line 117 (should be 'b = a'):
elif [ "$1" == "-i" ]
possible bashism in ./zfcpdump/get_files.sh line 17 ('function' is useless):
function check ()
possible bashism in ./zfcpdump/get_files.sh line 31 ('function' is useless):
function get_files()
possible bashism in ./zfcpdump/get_files.sh line 56 ('function' is useless):
function check_files()
possible bashism in ./zfcpdump/get_files.sh line 62 (should be 'b = a'):
		if [ "$missing" == "no" ]
possible bashism in ./zfcpdump/get_files.sh line 72 (should be 'b = a'):
		if [ "$missing" == "no" ]
possible bashism in ./zfcpdump/get_files.sh line 80 (should be 'b = a'):
	if [ "$missing" == "y" ]
possible bashism in ./zfcpdump/get_files.sh line 90 (should be 'b = a'):
if [ "$1" == "-c" ]
possible bashism in ./etc/init.d/dumpconf line 100 (should be 'b = a'):
	if [ "$line" == "" ]; then
possible bashism in ./etc/init.d/dumpconf line 107 (should be 'b = a'):
		if [ $found == true ]; then
possible bashism in ./etc/init.d/dumpconf line 110 (should be 'b = a'):
		if [ "$i" == "is" ]; then
possible bashism in ./etc/init.d/dumpconf line 115 (should be 'b = a'):
	if [ $? == 0 ]; then
possible bashism in ./etc/init.d/dumpconf line 126 ('function' is useless):
function CheckDeviceString() {
possible bashism in ./etc/init.d/dumpconf line 172 (should be 'b = a'):
	if [ $2 == "fcp" ]; then
possible bashism in ./etc/init.d/dumpconf line 203 (should be 'b = a'):
	if [ "$REIPL_TYPE" == "" ]; then
possible bashism in ./etc/init.d/dumpconf line 208 (should be 'b = a'):
	if [ "$REIPL_TYPE" == "ccw" ] || [ "$REIPL_TYPE" == "fcp" ]; then
possible bashism in ./etc/init.d/dumpconf line 210 (should be 'b = a'):
	elif [ "$REIPL_TYPE" == "nss" ]; then
possible bashism in ./etc/init.d/dumpconf line 229 (should be 'b = a'):
	if [ "$DUMP_TYPE" == "ccw" ] || [ "$DUMP_TYPE" == "fcp" ]; then
possible bashism in ./etc/init.d/dumpconf line 262 (should be 'b = a'):
	elif [ "$VMCMD" == "" ]; then
possible bashism in ./etc/init.d/dumpconf line 266 (echo -e):
		echo -en "$VMCMD" | cat > $VMCMD_CONFIG_DIR/on_panic || RETVAL=1
possible bashism in ./etc/init.d/dumpconf line 271 (echo -e):
		echo -e "$VMCMD"
possible bashism in ./etc/init.d/dumpconf line 304 (should be 'b = a'):
	if [ "$CONF_DUMP_TYPE" == "none" ]; then
possible bashism in ./etc/init.d/dumpconf line 306 (should be 'b = a'):
	elif [ "$CONF_DUMP_TYPE" == "ccw" ]; then
possible bashism in ./etc/init.d/dumpconf line 310 (should be 'b = a'):
	elif [ "$CONF_DUMP_TYPE" == "fcp" ]; then
possible bashism in ./etc/init.d/dumpconf line 323 (should be 'b = a'):
	if [ "$REIPL_TYPE" == "ccw" ]; then
possible bashism in ./etc/init.d/dumpconf line 325 (should be 'b = a'):
	elif [ "$REIPL_TYPE" == "fcp" ]; then
possible bashism in ./etc/init.d/dumpconf line 327 (should be 'b = a'):
	elif [ "$REIPL_TYPE" == "nss" ]; then
possible bashism in ./etc/init.d/dumpconf line 337 (echo -e):
	echo -e "\ndump:"
possible bashism in ./etc/init.d/dumpconf line 339 (echo -e):
	echo -e "\nreipl:"
possible bashism in ./etc/init.d/dumpconf line 347 (should be 'b = a'):
	if [ "$VMCMD" == "" ]; then
possible bashism in ./etc/init.d/dumpconf line 357 (should be 'b = a'):
	if [ "$ON_PANIC" == "" ]; then
possible bashism in ./etc/init.d/dumpconf line 361 (should be 'b = a'):
	if [ "$ON_PANIC" == "reipl" ]; then
possible bashism in ./etc/init.d/dumpconf line 363 (should be 'b = a'):
	elif [ "$ON_PANIC" == "dump" ] || [ "$ON_PANIC" == "dump_reipl" ]; then
possible bashism in ./etc/init.d/dumpconf line 365 (should be 'b = a'):
	elif [ "$ON_PANIC" == "vmcmd" ]; then
possible bashism in ./etc/init.d/dumpconf line 367 (should be 'b = a'):
	elif [ "$ON_PANIC" == "stop" ]; then
possible bashism in ./etc/init.d/dumpconf line 405 (should be 'b = a'):
	if [ "$ON_PANIC" == "vmcmd" ]; then
possible bashism in ./etc/init.d/dumpconf line 407 (should be 'b = a'):
	elif [ "$ON_PANIC" == "reipl" ]; then
possible bashism in ./etc/init.d/dumpconf line 409 (should be 'b = a'):
	elif [ "$ON_PANIC" == "dump" ]; then
possible bashism in ./etc/init.d/dumpconf line 411 (should be 'b = a'):
	elif [ "$ON_PANIC" == "dump_reipl" ]; then
possible bashism in ./.pc/bashism.patch/iucvterm/bin/chiucvallow.in line 201 (should be 'b = a'):
	test "x$euid" == x0 && return
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 41 ('function' is useless):
function PrintUsage() {
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 62 ('function' is useless):
function PrintVersion()
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 70 ('function' is useless):
function SetAttribute()
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 98 (let ...):
		let "CNT++"
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 105 (let ...):
		let "NUMATTR++"
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 308 ('function' is useless):
function IsOnline() {
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 322 ('function' is useless):
function StoreAttribute()
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 351 (let ...):
		let "RETRY--"
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 364 (bash arrays, ${name[0|*|@]}):
SAVEDATTRS=("${ATTRVAL[@]}")
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 382 (let ...):
		let "CNT++"
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 411 (let ...):
				let "RETRIES++"
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 424 (let ...):
		let "CNT++"
possible bashism in ./.pc/bashism.patch/zconf/chccwdev line 429 (bash arrays, ${name[0|*|@]}):
	ATTRVAL=("${SAVEDATTRS[@]}")
possible bashism in ./.pc/bashism.patch/zconf/lstape line 32 ('function' is useless):
function RequireArgument() {
possible bashism in ./.pc/bashism.patch/zconf/lstape line 40 ('function' is useless):
function PrintUsage() {
possible bashism in ./.pc/bashism.patch/zconf/lstape line 72 ('function' is useless):
function PrintVersion()
possible bashism in ./.pc/bashism.patch/zconf/lstape line 156 ('function' is useless):
function SysfsCreateListCCW() {
possible bashism in ./.pc/bashism.patch/zconf/lstape line 241 ('function' is useless):
function SysfsCreateListSCSI()

This report was generated on Fri, 17 Dec 2010 11:39:03 +0000, based on results by checkbashisms 2.10.65git5