ot-main: Ignore lt- prefixes in binary names
libtool is the best https://bugzilla.gnome.org/show_bug.cgi?id=682438
This commit is contained in:
parent
cc4df4f3c2
commit
cda5b28bab
|
|
@ -122,6 +122,9 @@ ostree_run (int argc,
|
||||||
else
|
else
|
||||||
binname = argv[0];
|
binname = argv[0];
|
||||||
|
|
||||||
|
if (g_str_has_prefix (binname, "lt-"))
|
||||||
|
binname += 3;
|
||||||
|
|
||||||
if (g_str_has_prefix (binname, "ostree-"))
|
if (g_str_has_prefix (binname, "ostree-"))
|
||||||
{
|
{
|
||||||
cmd = strchr (binname, '-');
|
cmd = strchr (binname, '-');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue