Skip to content

Commit

Permalink
bee-query: fix get_files
Browse files Browse the repository at this point in the history
"" in the for loop results in searching in /${pkg}
we should never expect packages being in the root fs
  • Loading branch information
Matthias Ruester authored and mariux committed Jun 1, 2015
1 parent 94175fd commit 195c627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bee-query.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function query() {
function get_files() {
pkg=${1}

for s in "" "${BEE_METADIR}" ; do
for s in "${BEE_METADIR}" ; do
ff="${s}/${pkg}/CONTENT"
if [ -e "${ff}" ] ; then
while read line ; do
Expand Down

0 comments on commit 195c627

Please sign in to comment.