Fix for qdo & new pool node build.
authorSteve Reinhardt <stever@eecs.umich.edu>
Thu, 29 Sep 2005 20:03:36 +0000 (16:03 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Thu, 29 Sep 2005 20:03:36 +0000 (16:03 -0400)
util/qdo:
    unset PROMPT_COMMAND in shell in case system sets
    it for us.

--HG--
extra : convert_revision : f9f20f7dc6b9585b60f3ce53aadd06e7d64f5179

util/qdo

index ca9ffc416e6379602f06650e3ad4bcb7a6438e40..3a475b420e1414a98fc3723ec486bc7676f3d0ff 100755 (executable)
--- a/util/qdo
+++ b/util/qdo
@@ -92,7 +92,7 @@ class Shell(pexpect.spawn):
             self.kill(15)
             self.close(wait=True)
             sys.exit(1)
-        self.do_command('PS1="qdo$ "')
+        self.do_command('unset PROMPT_COMMAND; PS1="qdo$ "')
 
     # version of expect that updates full_output too
     def expect(self, regexp, timeout = -1):