diff options
author | epoch <epoch@hack.thebackupbox.net> | 2021-06-14 21:06:38 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2021-06-14 21:06:38 +0000 |
commit | 5d31e65d2ea0772afa23c35461753ba276f2e379 (patch) | |
tree | 68d63ac4b9eb51c96daf3b292e0f278ba6fa9d9d /urnresolve | |
parent | ef335722beec14e6bdb30e263629b3caa23e591b (diff) | |
download | uritools-5d31e65d2ea0772afa23c35461753ba276f2e379.tar.gz uritools-5d31e65d2ea0772afa23c35461753ba276f2e379.zip |
added default PREFIX value to something "sane"
Diffstat (limited to 'urnresolve')
-rwxr-xr-x | urnresolve | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |