diff options
author | Emanuele Aina <emanuele.aina@collabora.com> | 2019-09-09 06:58:33 +0000 |
---|---|---|
committer | Emanuele Aina <emanuele.aina@collabora.com> | 2019-09-09 06:58:33 +0000 |
commit | 8c16f187783f193a7e5a87d9ef1281cd8ca92c1e (patch) | |
tree | efd3b745eec6410d08dc53dd7ecb43a7be5cdd32 /actions/run_action.go | |
parent | 3f13e87bb45d0d791c86338f9aa0853a9f41a992 (diff) | |
parent | afdeba754f8766de3b12211953eced5304991cde (diff) |
Update upstream source from tag 'upstream/1.0.0+git20190906.f5be960'
Update to upstream version '1.0.0+git20190906.f5be960'
with Debian dir ff8d0024ed4cb787f364d24c9d56bc359f4d73e9
Diffstat (limited to 'actions/run_action.go')
-rw-r--r-- | actions/run_action.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/run_action.go b/actions/run_action.go index 7bae989..8d36228 100644 --- a/actions/run_action.go +++ b/actions/run_action.go @@ -98,8 +98,8 @@ func (run *RunAction) doRun(context debos.DebosContext) error { script[0] = debos.CleanPathAt(script[0], context.RecipeDir) if run.Chroot { scriptpath := path.Dir(script[0]) - cmd.AddBindMount(scriptpath, "/script") - script[0] = strings.Replace(script[0], scriptpath, "/script", 1) + cmd.AddBindMount(scriptpath, "/tmp/script") + script[0] = strings.Replace(script[0], scriptpath, "/tmp/script", 1) } cmdline = []string{strings.Join(script, " ")} label = path.Base(run.Script) |