dev/chroot-test/action/refresh-auth
author Paul Crowley <paul@lshift.net>
Fri, 24 Aug 2012 13:49:55 +0100
changeset 365 f2e13e08ea13
parent 329 11db65f65fa7
permissions -rwxr-xr-x
Make it convenient to run the tests with new env vars in sudo

#!/bin/sh

set -e

. /action/env

if ${CHROOT_TEST_INSTALLDEB:-false} ; then
    /usr/share/mercurial-server/refresh-auth
else
    /usr/local/share/mercurial-server/refresh-auth
fi