Skip to content

Commit

Permalink
beesh: Create temporary inventory (.bc) in DESTDIR
Browse files Browse the repository at this point in the history
was: create file in current dir which is actually DESTDIR (${D}).

this change makes the code more readable.
  • Loading branch information
mariux committed Aug 22, 2012
1 parent 1270cc4 commit 1588267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/beesh.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ function bee_check_conflicts() {
${BEE_LIBEXECDIR}/bee/bee-cache-inventory CONTENT \
--prepend "${PKGALLPKG} " \
| sort -r -u -k8 -k1 \
> ${PKGALLPKG}.bc
> ${D}${PKGALLPKG}.bc

last=""
while read p f ; do
Expand All @@ -949,7 +949,7 @@ function bee_check_conflicts() {
fi
print_info "${COLOR_NORMAL} $f"
done < <(bee-cache print-conflicts ${PKGALLPKG} \
--tmpinstall ${PKGALLPKG}.bc \
--tmpinstall ${D}${PKGALLPKG}.bc \
-f1,8- | sort -k1 -u )
}

Expand Down

0 comments on commit 1588267

Please sign in to comment.