]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- add missing ifdef
authorMichael Schroeder <mls@suse.de>
Thu, 9 Jul 2009 10:41:42 +0000 (12:41 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 9 Jul 2009 10:41:42 +0000 (12:41 +0200)
examples/solv.c

index aa5918fafb0f860068981b446fa136ab4448090b..1640bcfe147c5e5c0da20cdc8abf44ccb45d5f2b 100644 (file)
@@ -191,8 +191,10 @@ read_repoinfos(Pool *pool, const char *reposdir, int *nrepoinfosp)
            kp++;
          if (!*kp || *kp == '#')
            continue;
+#ifdef FEDORA
          if (strchr(kp, '$'))
            kp = yum_substitute(pool, kp);
+#endif
          if (*kp == '[')
            {
              vp = strrchr(kp, ']');