aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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