author | wimpie <wimpie> | 2005-01-09 03:03:43 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-09 03:03:43 (UTC) |
commit | c6432d421a0ec3d158bf40309e98fc0386c4a287 (patch) (unidiff) | |
tree | 63dbb940d631f536a7a9cc26e8e9ea0797ca1e51 /scripts/tothreaded | |
parent | 67d1d0b292553af550219d770cbd5c00987d8b8b (diff) | |
download | opie-c6432d421a0ec3d158bf40309e98fc0386c4a287.zip opie-c6432d421a0ec3d158bf40309e98fc0386c4a287.tar.gz opie-c6432d421a0ec3d158bf40309e98fc0386c4a287.tar.bz2 |
removed extra space after Package: entry in generated -mt control file
-rwxr-xr-x | scripts/tothreaded | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tothreaded b/scripts/tothreaded index f916ad8..bf6750e 100755 --- a/scripts/tothreaded +++ b/scripts/tothreaded | |||
@@ -1,27 +1,27 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | # PURPOSE : | 3 | # PURPOSE : |
4 | # | 4 | # |
5 | # this script converts a non-threaded control file to a threaded one | 5 | # this script converts a non-threaded control file to a threaded one |
6 | # by extending appropriate names with -mt as extension | 6 | # by extending appropriate names with -mt as extension |
7 | # | 7 | # |
8 | # eg abc.control becoms abc-mt.control | 8 | # eg abc.control becoms abc-mt.control |
9 | # | 9 | # |
10 | 10 | ||
11 | # | 11 | # |
12 | # make sure that the depends expression has enough spaces | 12 | # make sure that the depends expression has enough spaces |
13 | # expression can contian : , ( ) || && | 13 | # expression can contian : , ( ) || && |
14 | # | 14 | # |
15 | tokenize() { | 15 | tokenize() { |
16 | sed "s/,/ & /g" | sed "s/)/ & /g" | sed "s/(/ & /g" | sed "s/|/ & /g" | sed "s/&/ & /g" | 16 | sed "s/,/ & /g" | sed "s/)/ & /g" | sed "s/(/ & /g" | sed "s/|/ & /g" | sed "s/&/ & /g" |
17 | } | 17 | } |
18 | 18 | ||
19 | # | 19 | # |
20 | # function converts package name to threaded equivalend IF the | 20 | # function converts package name to threaded equivalend IF the |
21 | # package file HAS a threaded version | 21 | # package file HAS a threaded version |
22 | # | 22 | # |
23 | findthreadedequiv() { | 23 | findthreadedequiv() { |
24 | local isin i | 24 | local isin i |
25 | for i in $* | 25 | for i in $* |
26 | do | 26 | do |
27 | isin=`grep "^$i\$" "$ALLTHREADEDPKGSFILE"` | 27 | isin=`grep "^$i\$" "$ALLTHREADEDPKGSFILE"` |