ack. (documentation needs update, dep. to shellcheck)

/Thanks HansN

On 05/24/2016 05:07 PM, Anders Widell wrote:
>   Makefile.common |  12 ++++++++++++
>   1 files changed, 12 insertions(+), 0 deletions(-)
>
>
> Add a "shellcheck" build target that can be used in any subdirectory in the
> OpenSAF source tree. Use the following command to run it:
>
> make shellcheck
>
> diff --git a/Makefile.common b/Makefile.common
> --- a/Makefile.common
> +++ b/Makefile.common
> @@ -42,3 +42,15 @@ pkgpyosafutilsclmdir = $(pythondir)/pyos
>   pkgpyosafutilslogdir = $(pythondir)/pyosaf/utils/log
>   pkgpyosafutilsimmoidir = $(pythondir)/pyosaf/utils/immoi
>   pkgpyosafutilsntfdir = $(pythondir)/pyosaf/utils/ntf
> +
> +shellcheck:
> +     @files=$$(grep --exclude-dir=cluster_sim_uml 
> --exclude-dir='.[a-zA-Z0-9]*' -E '^#\! */bin/(ba)?sh' -rlI .); \
> +     if test -n "$$files"; then \
> +        files=$$(hg status --no-status --clean --modified $$files); \
> +        if test -n "$$files"; then \
> +           shellcheck --shell=sh $$files; \
> +        fi; \
> +     fi; \
> +     true
> +
> +.PHONY: shellcheck


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to