~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerheadd

  • Committer: John Arbash Meinel
  • Date: 2011-03-25 14:14:42 UTC
  • Revision ID: john@arbash-meinel.com-20110325141442-536j4be3x0c464zy
Don't access loggerhead code from under 'bzrlib.plugins'.

Only test_load_test was doing so. And in the Launchpad test suite
loggerhead is a standalone app, rather than a bzr plugin.
This allows us to run the test suite as part of the Launchpad
test suite (bug #742446)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
LHUSER=loggerhead
18
18
 
19
 
if [ `whoami` = "$LHUSER" ]; then                                                                                   
 
19
if [ `whoami` = "$LHUSER" ]; then
20
20
    SUDO=""
21
 
else                                                                                                                
 
21
else
22
22
    SUDO="sudo -H -u $LHUSER"
23
23
fi
24
24