Review Request 119192: Make shell scripts portable and stable

Sven Brauch svenbrauch at googlemail.com
Wed Jul 9 22:14:08 UTC 2014



> On July 9, 2014, 9:23 p.m., Kevin Funk wrote:
> > Honestly, I dislike some of the changes and personally I'd rather force to be under /bin/bash instead of doing arcane hacks in order to support /bin/sh.
> > (Not to mention that I'd rather rewrite that thing in "a proper scripting language")
> > 
> > I'll let Milian have the final say, though.

Sounds like a job for Python (3) -- that's available everywhere and works the same, too ;)
Except Windows, maybe, but even there Python is a more mundane requirement than Bash.


- Sven


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119192/#review62022
-----------------------------------------------------------


On July 9, 2014, 6:49 p.m., Vadim Zhukov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119192/
> -----------------------------------------------------------
> 
> (Updated July 9, 2014, 6:49 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdevplatform
> 
> 
> Description
> -------
> 
> This patch makes provided scripts run on a generic Unix, and not only on bash-enabled ones. Also, some concepts were changed to more correct ones.
> 
> Patches are both applicable to stable and master branches.
> 
> Please note that I do not have commit rights.
> 
> 
> Diffs
> -----
> 
>   util/kdev_format_source 84434b1 
>   util/kdevplatform_shell_environment.sh 216e8c3 
> 
> Diff: https://git.reviewboard.kde.org/r/119192/diff/
> 
> 
> Testing
> -------
> 
> OpenBSD/i386
> 
> 
> Thanks,
> 
> Vadim Zhukov
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140709/86003804/attachment.html>


More information about the KDevelop-devel mailing list