diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 12:29:27 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 12:29:27 +0200 |
commit | 998bb7ac652581d6ef3a5821aa8dcb6a3a95ecdb (patch) | |
tree | 7156da18afa2b990248614f9f652e2f0f55d1152 /package/pkgmaker | |
parent | a89de37272ba44b8ad89eb4277bebdc5e657a999 (diff) | |
parent | 71582bdd2080c6d7fb446d4cea10c93cf781419d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pkgmaker')
-rw-r--r-- | package/pkgmaker | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkgmaker b/package/pkgmaker index 225d47f47..e9e0abff5 100644 --- a/package/pkgmaker +++ b/package/pkgmaker @@ -318,7 +318,7 @@ lookup_section_string() { # print the first prompt's first word's value in a given Config.in file get_first_prompt() { - prompt="$(grep -m 1 "prompt " $1 | sed -n 's/.*"\([^ \.]*\)[ \.].*"/\1/p')" + prompt="$(grep "prompt " $1 |head -1| sed -n 's/.*"\([^ \.]*\)[ \.].*"/\1/p')" [[ -n $prompt ]] && echo $prompt } |