Skip to content

Commit e287d4f

Browse files
committed
Fix side effect of reverting Cassandra drivers
lz4 and snappy does not have any tags, and that had confused `git describe`. This version still have following problems: - Current directory set to /var/lib/basho_bench When dpkg-installed basho_bench try tor start, its current directory is set as somewhere like /var/lib/basho_bench/lib/basho_bench-*. That is where the basho_bench script runs `cd` inside, because just to load correct beam files to run whole basho_bench. The workaround is to just specify `-d` option with absolute path. - Currently basho_bench has limited number of example configs installed in /etc/basho_bench. It should be installed in other place like `/usr/share/basho_bench/examples` but node_package seems not supporting such installation other than manpages.
1 parent c92e2fb commit e287d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ package.src: deps
6363
for dep in package/$(PKG_ID)/deps/*; do \
6464
echo "Processing dep: $${dep}"; \
6565
mkdir -p $${dep}/priv; \
66-
git --git-dir=$${dep}/.git describe --tags >$${dep}/priv/vsn.git; \
66+
git --git-dir=$${dep}/.git describe --always --tags >$${dep}/priv/vsn.git; \
6767
done
6868
find package/$(PKG_ID) -depth -name ".git" -exec rm -rf {} \;
6969
tar -C package -czf package/$(PKG_ID).tar.gz $(PKG_ID)

0 commit comments

Comments
 (0)