summaryrefslogtreecommitdiffstats
path: root/patches/opkg-utils-r4747/0027-Option-C-ist-shown-in-usage-and-implemented-but-was-.patch
blob: 4a30fc770cec07a6b7e42f06c3bfbe6fd13a7d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Ondics Githubler <githubler@ondics.de>
Date: Tue, 29 May 2012 17:34:14 +0200
Subject: [PATCH] Option "C" ist shown in usage() and implemented, but was
 missing in getopts. Added "C".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 opkg-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opkg-build b/opkg-build
index 012afd3..485897a 100755
--- a/opkg-build
+++ b/opkg-build
@@ -160,7 +160,7 @@ outer=ar
 noclean=0
 opkext=0
 usage="Usage: $0 [-c] [-C] [-O] [-o owner] [-g group] <pkg_directory> [<destination_directory>]"
-while getopts "cg:ho:vO" opt; do
+while getopts "cCg:ho:vO" opt; do
     case $opt in
 	o ) owner=$OPTARG
 	    ogargs="--owner=$owner"