http://bugzilla.novell.com/show_bug.cgi?id=559141 http://bugzilla.novell.com/show_bug.cgi?id=559141#c0 Summary: BASH incompatibility or bug: Some existing scripts need work Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Ulrich.Windl@rz.uni-regensburg.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091017 SUSE/2.0.0-1.1.3 SeaMonkey/2.0 BASH version 4 seems to disallow what older versions of BASH (e.g. version 3) allowed. For some reasons not obvious to me, BASH v4 does not always output an error if things don't work. Therefore about every script has to be checked if it still works correctly with the current version of BASH (4.0.33(1)-release). Reproducible: Always Steps to Reproduce: 1. ". /etc/profile.d/lang.sh" 2. "bash /etc/profile.d/lang.sh" 3. "sh /etc/profile.d/lang.sh" Actual Results: user@pc:~/Desktop> . /etc/profile.d/lang.sh user@pc:~/Desktop> bash /etc/profile.d/lang.sh /etc/profile.d/lang.sh: Zeile 18: return: can only `return' from a function or sourced script user@pc:~/Desktop> sh /etc/profile.d/lang.sh /etc/profile.d/lang.sh: Zeile 18: return: can only `return' from a function or sourced script Expected Results: Scripts shipped with openSUSE (here: aaa_base-11.2-43.45.1.i586) should not have bugs. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.