From: Alan Cox Date: Sat, 22 Aug 2015 08:21:01 +0000 (+0100) Subject: findsdcc: guess the library path from the binary X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=354ff8c1eb76634bbfbcfb4d7c9001d7613f949f;p=FUZIX.git findsdcc: guess the library path from the binary --- diff --git a/Kernel/tools/findsdcc b/Kernel/tools/findsdcc new file mode 100755 index 00000000..1efea0f2 --- /dev/null +++ b/Kernel/tools/findsdcc @@ -0,0 +1,2 @@ +#!/bin/sh +echo $(which sdcc | sed -e "s/bin\/sdcc//")share/sdcc/lib/$1 \ No newline at end of file