aboutsummaryrefslogtreecommitdiff
path: root/bin/biblio-yml
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-10 18:10:59 +0100
committerSilvio Rhatto <rhatto@riseup.net>2024-06-10 18:10:59 +0100
commitf89b5d995821a4b1fdbc6ef753ceee45f77f75d2 (patch)
treed7820d00a06575ca0a08add51523e9a60a2bf0ab /bin/biblio-yml
parent53dbca7c4441c6f779fdc0266a33d0392d89fc9b (diff)
downloadbookup-f89b5d995821a4b1fdbc6ef753ceee45f77f75d2.tar.gz
bookup-f89b5d995821a4b1fdbc6ef753ceee45f77f75d2.tar.bz2
Fix: biblio-yml issues
Diffstat (limited to 'bin/biblio-yml')
-rwxr-xr-xbin/biblio-yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/biblio-yml b/bin/biblio-yml
index 83355b4..10fafa6 100755
--- a/bin/biblio-yml
+++ b/bin/biblio-yml
@@ -8,12 +8,8 @@
BASENAME="`basename $0`"
DIRNAME="`dirname $0`"
BASEDIR="$DIRNAME/.."
-PREFIX="${1:-biblio}"
HEADER="${2:-true}"
-# Go to main folder
-cd $BASEDIR
-
# Header
if [ "$HEADER" != "false" ]; then
echo "# Bibliography sources"
@@ -24,5 +20,5 @@ fi
# Compile
#for file in *.bib; do
find -name '*.bib' | sed -e 's|^./||' | while read file; do
- echo " - $PREFIX/$file"
+ echo " - $file"
done