aboutsummaryrefslogtreecommitdiff
path: root/bin/archive
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-06 08:47:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-06-06 08:47:29 -0300
commitb1a77ee29c3b218fb76e9d9608913874870d110b (patch)
tree22b39a4c689893b2399b40c13baaacc09be7fe47 /bin/archive
parentbcae4301d6e0a6806b6044e19e865cc25965081f (diff)
downloadbookup-b1a77ee29c3b218fb76e9d9608913874870d110b.tar.gz
bookup-b1a77ee29c3b218fb76e9d9608913874870d110b.tar.bz2
Fix: fetch revision file from the current working directory
Diffstat (limited to 'bin/archive')
-rwxr-xr-xbin/archive3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/archive b/bin/archive
index 5b71ec8..27728e4 100755
--- a/bin/archive
+++ b/bin/archive
@@ -10,7 +10,8 @@ BASEDIR="$DIRNAME/.."
#ARCHIVE="$BASEDIR/archive"
ARCHIVE="archive"
REVISION="`git describe --tags 2> /dev/null || git log -1 --format=oneline | cut -d ' ' -f 1`"
-REVFILE="$BASEDIR/compiled/revision"
+#REVFILE="$BASEDIR/compiled/revision"
+REVFILE="compiled/revision"
# Make sure the archive folder exist
mkdir -p $ARCHIVE