Merge pull request #373 from eduardosm/avoid-double-slash
Avoid double slash (`//`) in generated scripts
This commit is contained in:
commit
9afe93298c
|
@ -461,8 +461,10 @@ void output_call_script(FILE *out, char *type, char *name, int using_bash, int s
|
||||||
fputs("kaem --file ", out);
|
fputs("kaem --file ", out);
|
||||||
}
|
}
|
||||||
fputs("/steps/", out);
|
fputs("/steps/", out);
|
||||||
fputs(type, out);
|
if (strlen(type) != 0) {
|
||||||
fputs("/", out);
|
fputs(type, out);
|
||||||
|
fputs("/", out);
|
||||||
|
}
|
||||||
fputs(name, out);
|
fputs(name, out);
|
||||||
fputs(".sh\n", out);
|
fputs(".sh\n", out);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue