File prevent-double-slash.patch of Package icmake

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-icmake-7.19.00/icm_prepare ./icm_prepare
--- ../orig-icmake-7.19.00/icm_prepare	2012-09-07 09:43:56.000000000 +0200
+++ ./icm_prepare	2012-12-12 10:46:06.729771756 +0100
@@ -11,7 +11,7 @@
 try mkdir -p tmp
 
 echo    Writing tmp/ROOT
-echo "ROOT=$1/" > tmp/ROOT
+echo "ROOT=$1" > tmp/ROOT
  
 . scripts/conversions
 
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-icmake-7.19.00/scripts/conversions ./scripts/conversions
--- ../orig-icmake-7.19.00/scripts/conversions	2012-02-22 11:07:32.000000000 +0100
+++ ./scripts/conversions	2012-12-12 10:45:15.591716676 +0100
@@ -3,7 +3,7 @@
 . VERSION
 . tmp/ROOT
 
-ROOT=`echo ${ROOT}/ | sed 's,//,/,g' | sed 's,//,/,g'`
+ROOT=`echo ${ROOT} | sed 's,//,/,g' | sed 's,//,/,g'`
 
 EXTENSION=`grep '^#' $CONFIG | grep "#define[[:space:]]\+EXTENSION" | \
             sed 's,.*EXTENSION[[:space:]]\+\"\([^"]*\)".*,'${ROOT}'\1,'`