Skip to content

Commit

Permalink
bee-check: fix reading the CONTENT file
Browse files Browse the repository at this point in the history
using 'read' to get the lines of the CONTENT file is the better choice here
  • Loading branch information
Matthias Ruester authored and mariux committed Jun 1, 2015
1 parent 896da4f commit 7f9d19f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/bee-check.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ function do_check_deps() {
echo " provides = ${PKGNAME}"
echo " provides = ${PKGFULLPKG}"

for line in $(cat ${filesfile}) ; do
while read line; do
eval $(${BEESEP} ${line})
echo " provides = ${file%%//*}"
done
done < "${filesfile}"

for line in $(cat ${filesfile}) ; do
while read line; do
eval $(${BEESEP} ${line})

# save and strip possible symbolic link destination..
Expand All @@ -220,8 +220,7 @@ function do_check_deps() {
fi

do_check_deps_of_file "${file}"

done
done < "${filesfile}"
}

###############################################################################
Expand Down

0 comments on commit 7f9d19f

Please sign in to comment.