mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-10 05:18:30 +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
|
||||
binname = argv[0];
|
||||
|
||||
if (g_str_has_prefix (binname, "lt-"))
|
||||
binname += 3;
|
||||
|
||||
if (g_str_has_prefix (binname, "ostree-"))
|
||||
{
|
||||
cmd = strchr (binname, '-');
|
||||
|
Loading…
Reference in New Issue
Block a user