findsdcc: guess the library path from the binary
authorAlan Cox <alan@linux.intel.com>
Sat, 22 Aug 2015 08:21:01 +0000 (09:21 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 22 Aug 2015 08:21:01 +0000 (09:21 +0100)
Kernel/tools/findsdcc [new file with mode: 0755]

diff --git a/Kernel/tools/findsdcc b/Kernel/tools/findsdcc
new file mode 100755 (executable)
index 0000000..1efea0f
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo $(which sdcc | sed -e "s/bin\/sdcc//")share/sdcc/lib/$1
\ No newline at end of file