Skip to content

Commit

Permalink
bee-query: declare bash functions with keyword 'function'
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Ruester committed Feb 24, 2013
1 parent 2e62d45 commit 7ea346c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bee-query.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ usage() {
EOF
}

query() {
function query() {
list=$@

for f in "${list[@]}" ; do
Expand All @@ -62,7 +62,7 @@ query() {
done
}

get_files() {
function get_files() {
pkg=${1}

for s in "" "${BEE_METADIR}" ; do
Expand All @@ -76,7 +76,7 @@ get_files() {
done
}

get_pkgs() {
function get_pkgs() {
f=$1

for pkg in $(${BEE_LIBEXECDIR}/bee/bee.d/bee-list --installed) ; do
Expand Down

0 comments on commit 7ea346c

Please sign in to comment.