worker/target/local: copy to the right location
We were copying the containing directory from our object store, we only want the contents. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
7625d26ff5
commit
d231694bae
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ func (job *Job) Run() error {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
cp := exec.Command("cp", "-a", "-L", "/var/cache/osbuild-composer/store/refs/"+result.OutputID, options.Location)
|
||||
cp := exec.Command("cp", "-a", "-L", "/var/cache/osbuild-composer/store/refs/"+result.OutputID+"/.", options.Location)
|
||||
cp.Stderr = os.Stderr
|
||||
cp.Stdout = os.Stdout
|
||||
err = cp.Run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue