From: John Hodge Date: Thu, 3 Oct 2013 15:02:59 +0000 (+0800) Subject: Tools/UDI - Misc touchups X-Git-Tag: rel0.15~145 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=ee202510aeee8e264c1eba5cfade82515e119ba2;p=tpg%2Facess2.git Tools/UDI - Misc touchups --- diff --git a/Tools/udimkpkg/udimkpkg b/Tools/udimkpkg/udimkpkg index 4cd2a29e..6f689caf 100755 --- a/Tools/udimkpkg/udimkpkg +++ b/Tools/udimkpkg/udimkpkg @@ -2,7 +2,7 @@ ABI=ia32 -cat udiprops.txt | sed 's/#.*//' | grep -v 'source_files\|source_requires\|compile_options' | tr '\n' '\0' > .udiprops.bin +cat udiprops.txt | sed 's/ *#.*//' | grep -v '^$' | tr '\t' ' ' | grep -v 'source_files\|source_requires\|compile_options' | tr '\n' '\0' > .udiprops.bin shortname=`grep 'shortname ' udiprops.txt | head -n 1 | awk '{print $2}'` firstmodule=`grep 'module ' udiprops.txt | head -n 1 | awk '{print $2}'` diff --git a/Tools/udisetup/udisetup b/Tools/udisetup/udisetup index b911aacc..7c89f24c 100755 --- a/Tools/udisetup/udisetup +++ b/Tools/udisetup/udisetup @@ -1,5 +1,10 @@ #!/bin/sh +#if [[ ! -e "$1" ]]; then +# echo "Pacakge '$1' does not exist" +# exit 1 +#fi + TMPFILE=/tmp/acess_udisetup.tmp if echo $0 | grep '/' >/dev/null; then