Revert "build/parseScript.c: opitimize out RPMSENSE_INTERP dependencies on /bin/sh"
/bin/sh dependency is still there, because scriptlets are written with "!#/bin/sh" first line, and bulk dependency optimization was removed. However, having RPMSENSE_INTERP flag is still good idea -- maybe rpm can check that RPMSENSE_INTERP file is actually X_OK or something. This reverts commit 5224b77cbdd2200ab040124101a132e92531f134.
This commit is contained in:
parent
f4371cc2a2
commit
d1ff200f04
@ -260,7 +260,7 @@ int parseScript(Spec spec, int parsePart)
|
||||
stripTrailingBlanksStringBuf(sb);
|
||||
p = getStringBuf(sb);
|
||||
|
||||
if (pkg->autoReq && *pkg->autoReq && strcmp(progArgv[0], "/bin/sh"))
|
||||
if (pkg->autoReq && *pkg->autoReq)
|
||||
(void) addReqProv(spec, pkg->header, (tagflags | RPMSENSE_INTERP), progArgv[0], NULL, 0);
|
||||
|
||||
/* Trigger script insertion is always delayed in order to */
|
||||
|
Loading…
x
Reference in New Issue
Block a user