summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-11-27 23:49:26 +0100
committerJonas Smedegaard <dr@jones.dk>2017-11-27 23:49:26 +0100
commit1a0318686593df436c7711fdcdc2cd5ffb868334 (patch)
tree8ee75b51e51f193fee3ca3291dc3bd7d43dc0d4b
parentd7a557b1f8aafdf4f053685464bfe12f7a35a03c (diff)
Tidy script to please shellcheck.
-rwxr-xr-xfoaf/mkfoaf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/foaf/mkfoaf.sh b/foaf/mkfoaf.sh
index d25d8e2..3c2a36c 100755
--- a/foaf/mkfoaf.sh
+++ b/foaf/mkfoaf.sh
@@ -11,7 +11,7 @@ exit1() {
}
bindir=$(dirname "$0")
-xsltdir="$bindir"
+#xsltdir="$bindir"
turtle2foaf() {
set -e
@@ -75,7 +75,7 @@ foafsign() {
gpg -a -o- --detach-sign "$inpath" > "$outpath"
}
-paths="$@"
+paths="$*"
[ -n "$paths" ] || paths=index.ttl
for path in $paths; do