Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rad committed Oct 12, 2015
1 parent 326563c commit 1ab05e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builder/aci-test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ func (cnt *Img) prepareTestAci() (*Img, error) {
}
}


ExecScript := strings.Replace(TEST_INIT_SCRIPT, "%%COMMAND%%", "'"+strings.Join(cnt.manifest.Aci.App.Exec, "' '")+"'", 1)
ExecScript = strings.Replace(ExecScript, "%%CWD%%", "'" + cnt.manifest.Aci.App.WorkingDirectory + "'", 2)
ExecScript = strings.Replace(ExecScript, "%%CWD%%", "'"+cnt.manifest.Aci.App.WorkingDirectory+"'", 2)

ioutil.WriteFile(cnt.target+PATH_TESTS+PATH_FILES+"/init.sh", []byte(ExecScript), 0777)

Expand Down

0 comments on commit 1ab05e2

Please sign in to comment.