diff options
Diffstat (limited to 'urnresolve')
-rwxr-xr-x | urnresolve | 3 |
1 files changed, 2 insertions, 1 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 @@ -35,7 +36,7 @@ if [ "$nid" = "phrack" ];then fi if [ "$nid" = "xkcd" ];then - echo "https://xkcd.com/${nss}" + echo "https://xkcd.com/${nss}/" fi if [ "$nid" = "mitre" ];then |