From cda5b28bab7495515bf2e8c8717639cb99e3ce35 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 22 Aug 2012 05:58:17 -0300 Subject: [PATCH] ot-main: Ignore lt- prefixes in binary names libtool is the best https://bugzilla.gnome.org/show_bug.cgi?id=682438 --- src/ostree/ot-main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c index 554307f3..0045f32a 100644 --- a/src/ostree/ot-main.c +++ b/src/ostree/ot-main.c @@ -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, '-');