Commit 7a6c4b46 authored by Marc Coiffier's avatar Marc Coiffier
Browse files

Successful build (on Mon Apr 22 00:45:32 CEST 2019)

parent 527546d3
......@@ -75,13 +75,13 @@ EOF
lib="${uri%%/*}"
prog="${uri#$lib}"
prog="${prog#/}"
containsSlash() {
contains() {
case "$1" in
*/*) return 0;;
*"$2"*) return 0;;
*) return 1;;
esac
}
while containsSlash "$prog"; do
while contains "$prog" /; do
prog="${prog%%/*}.${prog#*/}"
done
curly --mount p=library:"$lib" %"run p.$prog"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment