From b66ef28d98ccb4874890ddc4f4612955e712349b Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 4 Jul 2012 10:45:46 +0200 Subject: [Compsys] new option --- net:foret/completion/_sdk-targets | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net:foret') diff --git a/net:foret/completion/_sdk-targets b/net:foret/completion/_sdk-targets index de77138..4f9fe87 100644 --- a/net:foret/completion/_sdk-targets +++ b/net:foret/completion/_sdk-targets @@ -3,7 +3,8 @@ _sdk-targets() { _platforms () { - awk '/^ [-_a-zA-Z0-9]+$/ { print $1 }' tools/sdk-targets.txt + local _targets_file=tools/sdk-targets.txt + [ -f $_targets_file ] && awk '/^ [-_a-zA-Z0-9]+$/ { print $1 }' $_targets_file } _current_target () { @@ -39,6 +40,7 @@ _sdk-targets() { '(-f)'{-p,--protocols-only}'[Generates only the protocols bundle libraries]'\ {-g,--enable-debug-info}'[Enable debug info in binaries]'\ {-h,--enable-host}'[Enable host binaries building]'\ + {-i,--disable-security}'[Disable licence checking]'\ {-n,--nomake}'[No make done]'\ {-s,--enable-specific-protocols}'[Enable specific protocols]'\ {-v,--verbose}'[Enable verbose compilation]'\ -- cgit v1.2.3