From 794b58ec8257a40b173dc1bfbbfeeaa42117e3b3 Mon Sep 17 00:00:00 2001
From: Michael Wild <themiwi@users.sourceforge.net>
Date: Sat, 25 Sep 2010 09:24:40 +0200
Subject: [PATCH] Fix dirname computation in makeThirdPartyFunctions

Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
---
 tools/makeThirdPartyFunctions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/makeThirdPartyFunctions b/tools/makeThirdPartyFunctions
index 9106251..5abb092 100755
--- a/tools/makeThirdPartyFunctions
+++ b/tools/makeThirdPartyFunctions
@@ -99,7 +99,7 @@ cpMakeFiles()
 
     for i in $(cd $wmakeFiles && find . -type f)
     do
-        d=${i%%/*}   # dirname
+        d=${i%/*}   # dirname
         b=${i##*/}   # basename
 
         mkdir -p $dst/$d/Make 2>/dev/null
-- 
1.7.2.3

