Undertaker calls undertaker-$scheme #69

This commit is contained in:
boyska 2011-11-16 21:52:57 +01:00 committed by Jaromil
parent 97cd969c7b
commit b3ff77c4bd

View File

@ -84,9 +84,12 @@ function undertaker_scheme() {
;;
*)
#TODO: support undertaker-$scheme
error "url protocol not recognized: $baseurl"
if ! which undertaker-$scheme &> /dev/null; then
error "url protocol not recognized: $scheme"
return 64
fi
undertaker-$scheme ${(kv)opts} ${scheme}://$keypath
return $?
;;
esac
}