chiark
/
gitweb
/
~ianmdlvl
/
autopkgtest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea6528
)
pass origpwd into create_command properly
author
Ian Jackson
<ian@anarres>
Thu, 22 Feb 2007 17:55:22 +0000
(17:55 +0000)
committer
Ian Jackson
<ian@anarres>
Thu, 22 Feb 2007 17:55:22 +0000
(17:55 +0000)
runner/adt-run
patch
|
blob
|
history
diff --git
a/runner/adt-run
b/runner/adt-run
index aed221946e7af7fcbfc76aac69e0736b4ad88a86..0cb108a01f7a104f30f463b8028b1b2cccd8c0f3 100755
(executable)
--- a/
runner/adt-run
+++ b/
runner/adt-run
@@
-1428,7
+1428,7
@@
def build_source(act):
work = TemporaryDir(what+'-build')
script = [
- '
arg
="$1"',
+ '
spec
="$1"',
'origpwd=`pwd`',
'cd '+work.write(True)
]
@@
-1451,10
+1451,9
@@
def build_source(act):
if opts.user: script += [
'chown '+opts.user+' .',
- 'spec="$
arg
" '+opts.user_wrap(create_command)
+ 'spec="$
spec" origpwd="$origpwd
" '+opts.user_wrap(create_command)
]
else: script += [
- 'spec="$arg"',
create_command
]