]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
make pool_solvable2str use -<arch> for haiku
authorMichael Schroeder <mls@suse.de>
Tue, 16 Apr 2013 12:11:06 +0000 (14:11 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 16 Apr 2013 12:11:06 +0000 (14:11 +0200)
src/solvable.c

index 8392f4916a52f6006e8f9c2d511de0d95f74d310..a5baea52e6294801b04c72f463fdef33204cf409 100644 (file)
@@ -53,7 +53,7 @@ pool_solvable2str(Pool *pool, Solvable *s)
     }
   if (al)
     {
-      p[nl + el] = '.';
+      p[nl + el] = pool->disttype == DISTTYPE_HAIKU ? '-' : '.';
       strcpy(p + nl + el + 1, a);
     }
   return p;