Skip to content

Commit

Permalink
Relative path to chFileName script. Not sure this is best but it fixe…
Browse files Browse the repository at this point in the history
…s mac
  • Loading branch information
paulirish committed May 4, 2023
1 parent b2a4222 commit ef1f815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func checkFileType(filename string) (string, error) {
func runScript() ([]byte, error) {
// Running the bash script that will rename files by replacing space by dot
// Argument is where to rename file, here is the watch folder where files will be DL
cmd := exec.Command("/bin/sh", "/app/chFileName.sh", folderPath)
cmd := exec.Command("/bin/sh", "chFileName.sh", folderPath)
// cmd.Env = []string{"A=B"}
output, err := cmd.CombinedOutput()
if err != nil {
Expand Down

0 comments on commit ef1f815

Please sign in to comment.