diff options
author | jbj <devnull@localhost> | 1999-12-12 21:14:05 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-12-12 21:14:05 +0000 |
commit | 8f481702d8203c95d390f6eac93434019cf8d797 (patch) | |
tree | 16bb1c1650660851f355779a70727e934f26fc9d /build.c | |
parent | 292b9f10befbeb1044d2db98f62de0e65aff3317 (diff) | |
download | librpm-tizen-8f481702d8203c95d390f6eac93434019cf8d797.tar.gz librpm-tizen-8f481702d8203c95d390f6eac93434019cf8d797.tar.bz2 librpm-tizen-8f481702d8203c95d390f6eac93434019cf8d797.zip |
reload macros from cmd line when re-reading config files.
CVS patchset: 3479
CVS date: 1999/12/12 21:14:05
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -294,7 +294,7 @@ int build(const char *arg, struct rpmBuildArguments *ba, const char *passPhrase, printf(_("Building for target %s\n"), target); /* Read in configuration for target. */ - freeMacros(NULL); /* XXX macros from CLI are destroyed too */ + rpmFreeMacros(NULL); rpmReadConfigFiles(rcfile, target); rc = buildForTarget(arg, ba, passPhrase, fromTarball, cookie, force, nodeps); @@ -304,7 +304,7 @@ int build(const char *arg, struct rpmBuildArguments *ba, const char *passPhrase, exit: /* Restore original configuration. */ - freeMacros(NULL); /* XXX macros from CLI are destroyed too */ + rpmFreeMacros(NULL); rpmReadConfigFiles(rcfile, NULL); return rc; } |