summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-14 15:31:24 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-10-14 15:31:24 +0300
commitb6a0fca64d1d3b5331dffd78b7e75b4d5d86dfe4 (patch)
tree14b2b36b29af6520f35d59c1448d6e1b8b05b147 /lib/psm.c
parentb03953e551e4e3597b22cca71bfb583162187e9d (diff)
downloadrpm-b6a0fca64d1d3b5331dffd78b7e75b4d5d86dfe4.tar.gz
rpm-b6a0fca64d1d3b5331dffd78b7e75b4d5d86dfe4.tar.bz2
rpm-b6a0fca64d1d3b5331dffd78b7e75b4d5d86dfe4.zip
Fix build without Lua
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 abf19cf2c..5e3724c8d 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -486,8 +486,8 @@ static rpmRC runLuaScript(rpmpsm psm, Header h, rpmTag stag, ARGV_t argv,
{
rpmRC rc = RPMRC_FAIL;
int warn_only = 0;
-#ifdef WITH_LUA
const rpmts ts = psm->ts;
+#ifdef WITH_LUA
char *nevra, *sname = NULL;
int rootFd = -1;
int xx;