diff options
Diffstat (limited to 'localdebpool')
-rwxr-xr-x | localdebpool | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localdebpool b/localdebpool index b2aba22..a2cd506 100755 --- a/localdebpool +++ b/localdebpool @@ -37,7 +37,7 @@ pkginfofromprvpkgdir() { package="$(basename "$1")" pool="$(dirname "$1" | sed 's,.*/pool-\([^/]\+\)/\?.*,\1,; s,-all$,,')" dist="$(echo "$pool" | sed 's,[^a-z].*$,,')" - buildhost="$(echo $(dirname "$@") | sed 's,^\([^/]\+\)/pool-.*,\1,')" + buildhost="$(dirname "$@" | sed 's,^\([^/]\+\)/pool-.*,\1,')" echo "$package $pool $dist $buildhost" } @@ -219,7 +219,7 @@ cd "$PRVBASE" && find * -type f -name HINTS -exec grep -Pq "^Sections:.*$batchse set -- $(pkginfofromprvpkgdir "$prvpkgdir") package="$1" pool="$2" dist="$3" buildhost="$4" shift 4 - pkgsections="$(cat "$PRVBASE/$prvpkgdir/HINTS" | sectionsfromhintstream)" + pkgsections="$(sectionsfromhintstream < "$PRVBASE/$prvpkgdir/HINTS")" pkgsections="$(compactlist $pkgsections)" for section in $pkgsections; do subdir="$section/$package/$pool" |