don't erase failing build script (Tim Mooney).
CVS patchset: 2738 CVS date: 1999/01/22 00:38:10
This commit is contained in:
parent
fc421d4a1f
commit
d09dddb1a6
1
CHANGES
1
CHANGES
|
@ -46,6 +46,7 @@
|
|||
- there must be a { between two % in a query format (unless %% is used)
|
||||
|
||||
2.5.6 -> 2.5.7:
|
||||
- don't erase failing build script (Tim Mooney).
|
||||
- use portable mkinstalldirs (Tim Mooney).
|
||||
- irix6 autodeps were dup'd (Shing-Gene Yung <shing@cz3.nus.edu.sg>).
|
||||
- getservbyname needed ntohs().
|
||||
|
|
|
@ -128,7 +128,9 @@ int doScript(Spec spec, int what, const char *name, StringBuf sb, int test)
|
|||
execl(buildShell, buildShell, "-e", scriptName, scriptName, NULL);
|
||||
rpmError(RPMERR_SCRIPT, _("Exec of %s failed (%s)"),
|
||||
scriptName, name);
|
||||
#if 0 /* XXX don't erase the failing script */
|
||||
unlink(scriptName);
|
||||
#endif
|
||||
FREE(scriptName);
|
||||
return RPMERR_SCRIPT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue