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 8392f49..a5baea5 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;