mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-25 10:04:14 +03:00
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…
x
Reference in New Issue
Block a user