Skip to content

Commit

Permalink
Builder: Do not try to modify remote apt repository
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 27, 2011
1 parent a6c2565 commit 5569f48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion distrib/pilot.py
Expand Up @@ -274,7 +274,9 @@ def handleCompletedTasks():


def autobuild(cmd):
if cmd in ['apt', 'debchanges'] and 'Linux' not in platform.platform():
if cmd in ['apt', 'debchanges']:
if 'Linux' not in platform.platform() or \
('APT_DIR' in dir(pilotcfg) and ':' in pilotcfg.APT_DIR):
# Ignore this...
return True

Expand Down

0 comments on commit 5569f48

Please sign in to comment.