summaryrefslogtreecommitdiff
path: root/nuttx/tools/incdir.sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-16 15:43:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-16 15:43:39 +0000
commit105a59fa90e7dd9f7cd2bea774d99e60c3562fa8 (patch)
tree3130fee552185c1366e662b4506a3f5ffb3d870f /nuttx/tools/incdir.sh
parentcbb245c0b6816c10be52a03a3ea8c66db8e0a7ae (diff)
downloadpx4-nuttx-105a59fa90e7dd9f7cd2bea774d99e60c3562fa8.tar.gz
px4-nuttx-105a59fa90e7dd9f7cd2bea774d99e60c3562fa8.tar.bz2
px4-nuttx-105a59fa90e7dd9f7cd2bea774d99e60c3562fa8.zip
THTTPD works on LPCXpresso
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3514 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/incdir.sh')
-rwxr-xr-xnuttx/tools/incdir.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/tools/incdir.sh b/nuttx/tools/incdir.sh
index 32f383324..76f767e83 100755
--- a/nuttx/tools/incdir.sh
+++ b/nuttx/tools/incdir.sh
@@ -36,7 +36,7 @@
progname=$0
wintool=n
-usage="USAGE: $progname [-w] [-d] [-l] [-h] <compiler-path> <dir1> [<dir2> [<dir3> ...]]"
+usage="USAGE: $progname [-w] [-d] [-h] <compiler-path> <dir1> [<dir2> [<dir3> ...]]"
advice="Try '$progname -h' for more information"
while [ ! -z "$1" ]; do
@@ -193,17 +193,15 @@ for dir in $dirlist; do
# Treat the first directory differently
if [ -z "$response" ]; then
- response=-I$path
+ response=-I\"$path\"
else
- response=$response" -I$path"
+ response=$response" -I\"$path\""
fi
fi
done
if [ "X$fmt" = "Xuserinc" ]; then
response=$response"'"
-else
- response=\"$response\"
fi
echo $response