Ticket #29 (new Bug)

Opened 2 years ago

Last modified 2 years ago

make fails, path with special character

Reported by: apatel Assigned to: pebenito
Priority: Normal Component: Infrastructure
Version: SVN HEAD Keywords:
Cc:

Description

If there is special directory in project path awk fails. I created workspace /tmp/runtime-newConfiguration(1)/ and created module full project in it. Upon project creation xml build targets exectued and awk failed to build xml due to '(' character in path. Following are errors from eclipse console.

make -C /home/apatel/oss.tresys.com/RELEASE_20061018 xml /bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: find /home/apatel/runtime-New_configuration(1)/modFull/policy/modules/admin /home/apatel/runtime-New_configuration(1)/modFull/policy/modules/metadata.xml -maxdepth 0 -type d' /bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: awk '/[[:blank:]]*[[:alpha:]]/{ if ($3 == "base") print $1 }' /home/apatel/runtime-New_configuration(1)/modFull/policy/modules.conf 2> /dev/null' /bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: awk '/[[:blank:]]*[[:alpha:]]/{ if ($3 == "module") print $1 }' /home/apatel/runtime-New_configuration(1)/modFull/policy/modules.conf 2> /dev/null' /bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: awk '/[[:blank:]]*[[:alpha:]]/{ if ($3 == "off") print $1 }' /home/apatel/runtime-New_configuration(1)/modFull/policy/modules.conf 2> /dev/null' make[1]: Entering directory /home/apatel/oss.tresys.com/RELEASE_20061018' Creating policy.xml /bin/sh: -c: line 0: syntax error near unexpected token ('

Change History

12/27/06 09:54:34 changed by apatel

typo fixed.

If there is special character in policy project path awk fails to execute. I created workspace /tmp/runtime-newConfiguration(1)/ and created module full project in it.