Skip to content
Snippets Groups Projects
Commit 59df941d authored by Nathan Bockisch's avatar Nathan Bockisch
Browse files

Fine-tuned copy command fix so it works now

parent 032e3a9d
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1420WS-1807: Utility for copying GMVA directories to staging area for ingestion
Pipeline #11083 passed
......@@ -20,6 +20,7 @@
package copy
import (
"fmt"
"os"
"os/exec"
"path/filepath"
......@@ -68,7 +69,7 @@ func CopyGmva(dir string) {
err = mkdirCmd.Run()
checkError(err)
copyCmd := exec.Command("cp", "-LR", gmvaSourceFiles, vlbiTargetDir)
copyCmd := exec.Command("/bin/sh", "-c", fmt.Sprintf("cp -LR %s %s", gmvaSourceFiles, vlbiTargetDir))
err = copyCmd.Run()
checkError(err)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment