Skip to content

Commit

Permalink
Merge remote-tracking branch 'matze/for-marius' into fixes
Browse files Browse the repository at this point in the history
* matze/for-marius:
  beelib: fix expansion of SHAREDSTATEDIR variable
  repository: fix modes of compat scripts
  bee-cache-inventory: fix function _strip_trailing
  • Loading branch information
mariux committed Aug 21, 2012
2 parents bc83abc + 37a0c44 commit 86e9260
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bee-cache-inventory.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ static void _strip_trailing(char *in, char c)
len = strlen(in);
p = in+len-1;

while (p > in && *p == '/')
while (p > in && *p == c)
*(p--) = 0;

}
Expand Down
2 changes: 1 addition & 1 deletion src/beelib.config.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function expand_prefix_variables() {
expand_prefix_variables_defaults
BEE_AUTO_EXCLUDE=""
for var in PREFIX EPREFIX BINDIR SBINDIR LIBEXECDIR SYSCONFDIR \
SHAREDSTATEDIR LOCALSTATEDIR LIBDIR INCLUDEDIR \
LOCALSTATEDIR SHAREDSTATEDIR LIBDIR INCLUDEDIR \
DATAROOTDIR DATADIR INFODIR LOCALEDIR MANDIR DOCDIR ; do
eval eval ${var}=\${${var}}
eval 'BEE_AUTO_EXCLUDE=( "${BEE_AUTO_EXCLUDE[@]}" \${${var}} )'
Expand Down
Empty file modified src/compat-filesfile2contentfile.sh.in
100755 → 100644
Empty file.
Empty file modified src/compat-fixmetadir.sh.in
100755 → 100644
Empty file.

0 comments on commit 86e9260

Please sign in to comment.