kdevplatform_shell_environment.sh syntax error

Alvin Beach alvinbeach at gmail.com
Thu Aug 28 14:07:33 BST 2014


Attached is a patch to fix a few syntax errors in kdevplatform_shell_environment.sh. The patch fixes the error that appears when opening the Konsole

	raise!(): command not found

	bash: /usr/bin/kdevplatform_shell_environment.sh: line 340: syntax error near unexpected token `}'
	bash: /usr/bin/kdevplatform_shell_environment.sh: line 340: `}'

The issue appears to be that there is no space between '!' and '(' in the bash function name.

There also seems to be two "raise!" functions. This patch removes one (they looked the same, so I removed the first one.).

I have the following KDevelop4 versions (just updated a few minutes ago):

KDevelop4 4.7.0 (kdevelop4-4.7.0-11.1.x86_64)
KDevPlatform 4.13.3 (kdevplatform-1.7.0-14.1.x86_64 and libkdevplatform8-1.7.0-14.1.x86_64)

I am using openSUSE 12.3.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevplatform_shell_environment-syntax_fixed.patch
Type: text/x-patch
Size: 2343 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20140828/f79002b4/attachment.bin>

More information about the KDevelop mailing list