# HG changeset patch # User HackBot # Date 1397951731 0 # Node ID 54ff46129c36e6878ed1d9125e1b8f403afde0cc # Parent b873f9de779b394cbd996e2c941e1d68929e1074 sed -i -e \'s|\\^/hack|^/+hack|\' bin/url diff -r b873f9de779b -r 54ff46129c36 bin/url --- a/bin/url Sat Apr 19 23:52:15 2014 +0000 +++ b/bin/url Sat Apr 19 23:55:31 2014 +0000 @@ -3,7 +3,7 @@ if len(sys.argv) <= 1: print "http://codu.org/projects/hackbot/fshg/" else: - f = re.sub(r"^/hackenv/", "", sys.argv[1]) + f = re.sub(r"^/+hackenv/", "", sys.argv[1]) if f.startswith("/"): sys.exit("File is outside hg repository.") else: