mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 09:15:23 +01:00
Merge pull request #373 from eduardosm/avoid-double-slash
Avoid double slash (`//`) in generated scripts
This commit is contained in:
commit
9afe93298c
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue