Print out our macrofile path on --showrc
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 26 Apr 2013 11:05:30 +0000 (14:05 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Jun 2013 09:26:08 +0000 (12:26 +0300)
(cherry picked from commit 87be163dbb5963a77547e573b4e7b23b5a443a2f)

lib/rpmrc.c

index ef5c2a0..6db355c 100644 (file)
@@ -1704,6 +1704,9 @@ int rpmShowRC(FILE * fp)
     ds = rpmdsFree(ds);
     fprintf(fp, "\n");
 
+    fprintf(fp, "Macro path: %s\n", macrofiles);
+    fprintf(fp, "\n");
+
     rpmDumpMacroTable(NULL, fp);
 
     return 0;