Debian Automated Code Analysis

checkbashisms analysis of samba_3.5.6~dfsg-3.dsc

possible bashism in ./source3/script/tests/test_wbinfo_s3.sh line 45 ($'...' should be "$(printf '...')"):
NEWIFS=$':'
possible bashism in ./source3/configure line 372 (should be >word 2>&1):
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
possible bashism in ./source3/configure line 21718 ('function' is useless):
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sufficient support for iconv function was not found.
possible bashism in ./source3/configure line 21720 ('function' is useless):
$as_echo "$as_me: WARNING: Sufficient support for iconv function was not found.
possible bashism in ./source3/configure line 43623 ('function' is useless):
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sufficient support for iconv function was not found.
possible bashism in ./source3/configure line 43625 ('function' is useless):
$as_echo "$as_me: WARNING: Sufficient support for iconv function was not found.
possible bashism in ./source3/configure line 47838 (should be >word 2>&1):
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
possible bashism in ./source3/selftest/tests.sh line 94 (sourced script with arguments):
	. $SCRIPTDIR/test_smbtorture_s3.sh //\$SERVER_IP/tmp \$USERNAME \$PASSWORD "" ""
possible bashism in ./source3/selftest/tests.sh line 101 (sourced script with arguments):
	. $SCRIPTDIR/test_smbtorture_s3.sh //\$SERVER_IP/tmp \$USERNAME \$PASSWORD "" "-e"
possible bashism in ./source3/selftest/tests.sh line 108 (sourced script with arguments):
	. $SCRIPTDIR/test_wbinfo_s3.sh \$WORKGROUP \$SERVER \$USERNAME \$PASSWORD
possible bashism in ./source3/selftest/tests.sh line 167 (sourced script with arguments):
		. $SCRIPTDIR/test_posix_s3.sh //\$SERVER_IP/tmp \$USERNAME \$PASSWORD "" ""
possible bashism in ./source3/lib/ldb/tests/test-schema.sh line 22 (should be 'b = a'):
if [ "$?" == "0" ]; then
possible bashism in ./source3/lib/ldb/tests/test-schema.sh line 27 (should be 'b = a'):
if [ "$?" == "0" ]; then
possible bashism in ./packaging/RHEL-CTDB/makerpms.sh line 62 ((push|pop)d):
pushd ${TOPDIR}
possible bashism in ./packaging/RHEL-CTDB/makerpms.sh line 66 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL-CTDB/makerpms.sh line 81 ((push|pop)d):
pushd ${DIRNAME}
possible bashism in ./packaging/RHEL-CTDB/makerpms.sh line 88 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL-CTDB/makerpms.sh line 103 ((push|pop)d):
pushd ${RPMSPECDIR}
possible bashism in ./packaging/RHEL-CTDB/makerpms.sh line 105 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL-CTDB/setup/winbind.init line 40 ($"foo" should be eval_gettext "foo"):
	echo -n $"Starting $KIND services: "
possible bashism in ./packaging/RHEL-CTDB/setup/winbind.init line 51 ($"foo" should be eval_gettext "foo"):
	echo -n $"Shutting down $KIND services: "
possible bashism in ./packaging/RHEL-CTDB/setup/winbind.init line 65 ($"foo" should be eval_gettext "foo"):
        echo -n $"Reloading smb.conf file: "
possible bashism in ./packaging/RHEL-CTDB/setup/winbind.init line 96 ($"foo" should be eval_gettext "foo"):
	echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
possible bashism in ./packaging/RHEL-CTDB/setup/smb.init line 53 ($"foo" should be eval_gettext "foo"):
	echo -n $"Starting $KIND services: "
possible bashism in ./packaging/RHEL-CTDB/setup/smb.init line 59 ($"foo" should be eval_gettext "foo"):
		echo -n $"Starting $KIND services: "
possible bashism in ./packaging/RHEL-CTDB/setup/smb.init line 74 ($"foo" should be eval_gettext "foo"):
	echo -n $"Shutting down $KIND services: "
possible bashism in ./packaging/RHEL-CTDB/setup/smb.init line 81 ($"foo" should be eval_gettext "foo"):
		echo -n $"Shutting down $KIND services: "
possible bashism in ./packaging/RHEL-CTDB/setup/smb.init line 100 ($"foo" should be eval_gettext "foo"):
        echo -n $"Reloading smb.conf file: "
possible bashism in ./packaging/RHEL-CTDB/setup/smb.init line 132 ($"foo" should be eval_gettext "foo"):
	echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
possible bashism in ./packaging/RHEL-CTDB/makespec.sh line 16 ((push|pop)d):
pushd ${SRCDIR}
possible bashism in ./packaging/RHEL-CTDB/makespec.sh line 18 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.git.sh line 56 ((push|pop)d):
pushd ${SRCDIR}
possible bashism in ./packaging/RHEL/makerpms.git.sh line 58 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.git.sh line 82 ((push|pop)d):
pushd ${TOPDIR}
possible bashism in ./packaging/RHEL/makerpms.git.sh line 86 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.git.sh line 94 ((push|pop)d):
	pushd ${TOPDIR}/../samba-${VERSION}
possible bashism in ./packaging/RHEL/makerpms.git.sh line 98 ((push|pop)d):
	popd
possible bashism in ./packaging/RHEL/makerpms.git.sh line 105 ((push|pop)d):
pushd ${TOPDIR}/..
possible bashism in ./packaging/RHEL/makerpms.git.sh line 114 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.git.sh line 125 ((push|pop)d):
pushd ${DIRNAME}
possible bashism in ./packaging/RHEL/makerpms.git.sh line 129 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.git.sh line 135 ((push|pop)d):
pushd ${RPMSPECDIR}
possible bashism in ./packaging/RHEL/makerpms.git.sh line 146 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.sh line 42 ((push|pop)d):
pushd .
possible bashism in ./packaging/RHEL/makerpms.sh line 47 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.sh line 49 ((push|pop)d):
pushd .
possible bashism in ./packaging/RHEL/makerpms.sh line 63 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/setup/winbind.init line 40 ($"foo" should be eval_gettext "foo"):
	echo -n $"Starting $KIND services: "
possible bashism in ./packaging/RHEL/setup/winbind.init line 51 ($"foo" should be eval_gettext "foo"):
	echo -n $"Shutting down $KIND services: "
possible bashism in ./packaging/RHEL/setup/winbind.init line 65 ($"foo" should be eval_gettext "foo"):
        echo -n $"Reloading smb.conf file: "
possible bashism in ./packaging/RHEL/setup/winbind.init line 96 ($"foo" should be eval_gettext "foo"):
	echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
possible bashism in ./packaging/RHEL/setup/smb.init line 52 ($"foo" should be eval_gettext "foo"):
	echo -n $"Starting $KIND services: "
possible bashism in ./packaging/RHEL/setup/smb.init line 58 ($"foo" should be eval_gettext "foo"):
		echo -n $"Starting $KIND services: "
possible bashism in ./packaging/RHEL/setup/smb.init line 73 ($"foo" should be eval_gettext "foo"):
	echo -n $"Shutting down $KIND services: "
possible bashism in ./packaging/RHEL/setup/smb.init line 80 ($"foo" should be eval_gettext "foo"):
		echo -n $"Shutting down $KIND services: "
possible bashism in ./packaging/RHEL/setup/smb.init line 99 ($"foo" should be eval_gettext "foo"):
        echo -n $"Reloading smb.conf file: "
possible bashism in ./packaging/RHEL/setup/smb.init line 131 ($"foo" should be eval_gettext "foo"):
	echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
possible bashism in ./packaging/RHEL/makerpms.sh.tmpl line 42 ((push|pop)d):
pushd .
possible bashism in ./packaging/RHEL/makerpms.sh.tmpl line 47 ((push|pop)d):
popd
possible bashism in ./packaging/RHEL/makerpms.sh.tmpl line 49 ((push|pop)d):
pushd .
possible bashism in ./packaging/RHEL/makerpms.sh.tmpl line 63 ((push|pop)d):
popd
possible bashism in ./packaging/bin/fill-templates line 20 ((push|pop)d):
pushd ${SRCDIR} > /dev/null 2>&1
possible bashism in ./packaging/bin/fill-templates line 22 ((push|pop)d):
popd > /dev/null 2>&1
possible bashism in ./packaging/bin/fill-templates line 45 ((push|pop)d):
pushd ${TOPDIR}/packaging > /dev/null 2>&1
possible bashism in ./packaging/bin/fill-templates line 47 ((push|pop)d):
popd > /dev/null 2>&1
possible bashism in ./testprogs/blackbox/test_wintest.sh line 30 (export only takes -p as an option):
export -n SOCKET_WRAPPER_DIR
possible bashism in ./release-scripts/build-docs line 5 ((push|pop)d):
	popd
possible bashism in ./release-scripts/build-docs line 11 ((push|pop)d):
pushd $DOCSRCDIR || exit 1
possible bashism in ./release-scripts/build-docs line 38 ((push|pop)d):
popd
possible bashism in ./lib/talloc/script/abi_checks.sh line 67 (let ...):
	let exit_status++
possible bashism in ./lib/talloc/script/abi_checks.sh line 75 (let ...):
	let exit_status++
possible bashism in ./packaging4/Fedora/samba4.init line 41 ($"foo" should be eval_gettext "foo"):
	echo -n $"Starting Samba services: "
possible bashism in ./packaging4/Fedora/samba4.init line 51 ($"foo" should be eval_gettext "foo"):
	echo -n $"Shutting down Samba services: "
possible bashism in ./packaging4/Fedora/samba4.init line 65 ($"foo" should be eval_gettext "foo"):
        echo -n $"Reloading smb.conf file: "
possible bashism in ./packaging4/Fedora/samba4.init line 109 ($"foo" should be eval_gettext "foo"):
	echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
possible bashism in ./source4/selftest/win/wintest_base.sh line 39 (echo -e):
	echo -e "\n$test_name SETUP PHASE"
possible bashism in ./source4/selftest/win/wintest_base.sh line 47 (echo -e):
		echo -e "\n$test_name setup completed successfully."
possible bashism in ./source4/selftest/win/wintest_base.sh line 55 (echo -e):
			echo -e "\n$test_name CLEANUP PHASE"
possible bashism in ./source4/selftest/win/wintest_base.sh line 61 (echo -e):
				echo -e "\n$test_name removal completed successfully."
possible bashism in ./source4/selftest/win/wintest_functions.sh line 11 (echo -e):
	echo -e "\nSetting up windows environment."
possible bashism in ./source4/selftest/win/wintest_functions.sh line 22 (echo -e):
	echo -e "\nCleaning up windows environment."
possible bashism in ./source4/selftest/win/wintest_functions.sh line 36 (echo -e):
	echo -e $err_str
possible bashism in ./source4/selftest/win/wintest_raw.sh line 40 (echo -e):
	echo -e "\n$test_name SETUP PHASE"
possible bashism in ./source4/selftest/win/wintest_raw.sh line 48 (echo -e):
		echo -e "\n$test_name setup completed successfully."
possible bashism in ./source4/selftest/win/wintest_raw.sh line 56 (echo -e):
			echo -e "\n$test_name CLEANUP PHASE"
possible bashism in ./source4/selftest/win/wintest_raw.sh line 62 (echo -e):
				echo -e "\n$test_name removal completed successfully."
possible bashism in ./source4/lib/ldb/tests/test-schema.sh line 22 (should be 'b = a'):
if [ "$?" == "0" ]; then
possible bashism in ./source4/lib/ldb/tests/test-schema.sh line 27 (should be 'b = a'):
if [ "$?" == "0" ]; then

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