Skip to content

Commit

Permalink
bee-init: Allow empty url if output file is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Aug 2, 2012
1 parent a62c4da commit 41ac607
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bee-init.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ function create_beefile_from_template {
function initialize() {
surl=${1}

shift

pname=${OPT_OUTPUT}

DEFAULT_CONFIGURE_OPTIONS="${@}"
Expand Down Expand Up @@ -398,7 +396,7 @@ while true ; do

*)
shift
if [ -z "${1}" ] ; then
if [ -z "${1}" -a -z "${OPT_OUTPUT}" ] ; then
usage
exit 1
fi
Expand Down

0 comments on commit 41ac607

Please sign in to comment.