author | wimpie <wimpie> | 2004-04-02 16:49:47 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2004-04-02 16:49:47 (UTC) |
commit | 9e26c10c0dc97a0956d019166caf712955094764 (patch) (unidiff) | |
tree | 9bf4f33bd02185780070e178d25e24bdff4d6cd2 /scripts/SpecialMTFiles | |
parent | 2f2d702e37cc391dd547eaa7e2432d86285e546d (diff) | |
download | opie-9e26c10c0dc97a0956d019166caf712955094764.zip opie-9e26c10c0dc97a0956d019166caf712955094764.tar.gz opie-9e26c10c0dc97a0956d019166caf712955094764.tar.bz2 |
ipkg-build mkipkg : speedup (avoid grepping over controlfile by loading into array)
SpeciapMTFiles tothreaded : convert control files to -mt.control
-rw-r--r-- | scripts/SpecialMTFiles | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/SpecialMTFiles b/scripts/SpecialMTFiles new file mode 100644 index 0000000..456550c --- a/dev/null +++ b/scripts/SpecialMTFiles | |||
@@ -0,0 +1,14 @@ | |||
1 | ConvertSpecialFiles() { | ||
2 | local f | ||
3 | for f in "$*" | ||
4 | do | ||
5 | case "$f" in | ||
6 | *libqte*) | ||
7 | echo ${f//qte/qte-mt} | ||
8 | ;; | ||
9 | *) | ||
10 | echo $f | ||
11 | ;; | ||
12 | esac | ||
13 | done | ||
14 | } | ||