From 5d31e65d2ea0772afa23c35461753ba276f2e379 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 14 Jun 2021 21:06:38 +0000 Subject: added default PREFIX value to something "sane" --- urnresolve | 1 + 1 file changed, 1 insertion(+) (limited to 'urnresolve') diff --git a/urnresolve b/urnresolve index 864859b..d2ae38a 100755 --- a/urnresolve +++ b/urnresolve @@ -1,4 +1,5 @@ #!/bin/sh +export PREFIX="${PREFIX:-/usr/local}" echo "urnstart: working on:" "$1" >&2 urn="$(printf '%s\n' "$1" | cut -d: -f1)" if [ "$urn" != "urn" ];then -- cgit v1.2.3