Skip to content

Commit

Permalink
bee-init: Fix missing shift
Browse files Browse the repository at this point in the history
Removing shift was a bad idea. The correct way is to check if we can shift and
then shift the arguments.

Fixes bug introduced in 41ac607
  • Loading branch information
mariux committed Aug 3, 2012
1 parent 61fba00 commit 9ffe60c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bee-init.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ function create_beefile_from_template {
function initialize() {
surl=${1}

[ ! -z "${surl}" ] && shift

pname=${OPT_OUTPUT}

DEFAULT_CONFIGURE_OPTIONS="${@}"
Expand Down

0 comments on commit 9ffe60c

Please sign in to comment.