Review Request 119192: Make shell scripts portable and stable

Kevin Funk kfunk at kde.org
Thu Jul 10 06:48:32 UTC 2014


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


Still not fully working:
./util/kdev_format_source: 113: ./util/kdev_format_source: Syntax error: "fi" unexpected (expecting ";;")

By the way. @KDevelop devs: How is this script supposed to work at all?

When running the original version I get:
% bash ./util/kdev_format_source ./util/pushvalue.h
No tempfile given, formatting the original file
found /home/krf/devel/src/kdevplatform/format_sources
matched without wildcard, using command plugins/patchreview/libdiff2/* plugins/patchreview/settings/* plugins/quickopen/expandingtree/* 
./util/kdev_format_source: line 123: plugins/patchreview/libdiff2/CMakeLists.txt: Permission denied

Am I doing something wrong?

- Kevin Funk


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/20140710/7d7c3ba1/attachment.html>


More information about the KDevelop-devel mailing list