Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/ruester@github/buildmagic-array'
Browse files Browse the repository at this point in the history
* remotes/ruester@github/buildmagic-array:
  beesh: Fix use of bee_buildmagic variable
  beesh: remove unused variable
  beesh: fix typo
  beesh: more quoting
  fixmetadir: Use while read loop instead of for loop
  fixmetadir: Fix indentation
  Remove unused variables
  Always quote $@ to prevent globbing
  • Loading branch information
donald committed Apr 23, 2016
2 parents 1070fbd + e8632ab commit 1444acb
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 95 deletions.
4 changes: 1 addition & 3 deletions src/bee-cache-update.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi

function print_info()
{
echo ${@}
echo "${@}"
}

function create_pkgbcfile()
Expand Down Expand Up @@ -120,8 +120,6 @@ function update_inventory()

function create_inventory()
{
local PKGALLPKG=${1}

local tmpfile=${INVENTORYFILE}.tmp.$$

print_info "creating ${INVENTORYFILE} .."
Expand Down
2 changes: 1 addition & 1 deletion src/bee-query.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ usage() {
}

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

for f in "${list[@]}" ; do
# check if $f is pkg, list related files
Expand Down
4 changes: 1 addition & 3 deletions src/bee-update.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ if [ -z "${BEE_VERSION}" ] ; then
exit 1
fi

VERSION=${BEE_VERSION}

: ${BEE_LIBEXECDIR:=@LIBEXECDIR@}

exec ${BEE_LIBEXECDIR}/bee/bee.d/bee-install --update ${@}
exec ${BEE_LIBEXECDIR}/bee/bee.d/bee-install --update "${@}"
2 changes: 1 addition & 1 deletion src/beefind.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ if [ -n "${OPT_OUTPUT}" ] ; then
fi
fi

do_beefind ${@}
do_beefind "${@}"
Loading

0 comments on commit 1444acb

Please sign in to comment.