Skip to content

Commit

Permalink
Merge branch 'for-marius' of https://github.com/ruester/bee
Browse files Browse the repository at this point in the history
* 'for-marius' of https://github.com/ruester/bee:
  repository: remove beeversion test script
  manpages: update options in bee-remove manpage
  bee-init: remove html anchors from SRCURL
  beelib: call 'logname' if the username is not defined by environment variables
  bee-cache-inventory: avoid printing null pointer
  • Loading branch information
mariux committed Aug 30, 2012
2 parents 1e0dbd3 + 3ab0c1c commit dabbd4c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 177 deletions.
7 changes: 0 additions & 7 deletions manpages/bee-remove.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ does not match the full name of a bee package, all matching packages will be dis
.TQ
.B \-h
Print a little help screen.
.TP
.B \-\-noop
.TQ
.B \-n
Do not actually remove
.IR <bee-package> ,
just print.

.SH "ENVIRONMENT"
.TP
Expand Down
3 changes: 2 additions & 1 deletion src/bee-cache-inventory.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ int inventory_dirfile(char *indname, char *outfname, struct inventory_meta meta)

res = inventory_fhfh(infh, outfh, meta);
if (!res) {
fprintf(stderr, "inventarization from %s/%s/CONTENT to %s failed: %m\n", indname, dirname, outfname);
fprintf(stderr, "inventarization from %s/%s/CONTENT to %s failed: %m\n",
indname, dirname, outfname ? outfname : "stdout");
fclose(infh);
goto closeoutfh;
}
Expand Down
3 changes: 3 additions & 0 deletions src/bee-init.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ function initialize() {
# and remove all HTTP-GET variables..
pname=${pname%%\?*}

# remove anchors
pname=${pname%%\#*}

# strip some known and some special suffixes
pname=${pname%.gz}
pname=${pname%.bz2}
Expand Down
1 change: 1 addition & 0 deletions src/beelib.config.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ function config_verify_builtin_config() {
user=${LOGNAME}
: ${user:=${USER}}
: ${user:=${USERNAME}}
: ${user:=$(logname)}

: ${BEE_TMP_TMPDIR:=/tmp}
: ${BEE_TMP_BUILDROOT:=${BEE_TMP_TMPDIR}/bee-${user}}
Expand Down
169 changes: 0 additions & 169 deletions src/test.sh

This file was deleted.

0 comments on commit dabbd4c

Please sign in to comment.