Skip to content

Commit

Permalink
bee-query: fix querying of "directories/"
Browse files Browse the repository at this point in the history
this fixes a bug introduced in 60daefd
when removing call to external basename.
  • Loading branch information
mariux committed Jul 14, 2011
1 parent 32e6836 commit 3cad97d
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 @@ -46,7 +46,7 @@ query() {
# check if $f is pkg, list related files
# otherwise list pkg
base=${f##*/}
if [ -d "${BEE_METADIR}/${base}" ] ; then
if [ ! -z "${base}" -a -d "${BEE_METADIR}/${base}" ] ; then
eval $(@BINDIR@/beeversion $base)
get_files "${PKGALLPKG}"
else
Expand Down

0 comments on commit 3cad97d

Please sign in to comment.