summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psm.c')
-rw-r--r--lib/psm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psm.c b/lib/psm.c
index e37459a87..0cb956c39 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -797,7 +797,7 @@ static rpmRC runScript(rpmpsm psm, Header h, rpm_tag_t stag,
xx = Fclose (scriptFd);
}
- { const char *ipath = rpmExpand("PATH=%{_install_script_path}", NULL);
+ { char *ipath = rpmExpand("PATH=%{_install_script_path}", NULL);
const char *path = SCRIPT_PATH;
if (ipath && ipath[5] != '%')