Commit c841bfaf authored by Marc Coiffier's avatar Marc Coiffier
Browse files

Successful build (on Mon Apr 22 00:50:19 CEST 2019)

parent 7a6c4b46
......@@ -84,6 +84,20 @@ EOF
while contains "$prog" /; do
prog="${prog%%/*}.${prog#*/}"
done
curly --mount p=library:"$lib" %"run p.$prog"
if [ -t 1 ]; then
curly --mount p=library:"$lib" %"run p.$prog"
else
cmd="curly --mount p=library:$lib %'run p.$prog'"
cat <<EOF
<!DOCTYPE html>
<html>
<head></head>
<body>
<h1>Command <code>$cmd</code></h1>
<pre style="background:black; color:white;">`eval "$cmd"`</pre>
</body>
</html>
EOF
fi
;;
esac
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