summaryrefslogtreecommitdiff
path: root/nuttx/tools/configure.sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-21 19:54:44 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-21 19:54:44 +0000
commit3689d913ceb2bb52b808e0e5598e83bcfdd88134 (patch)
tree8d04a7378abacc76fc1078ee585c593f141ecc64 /nuttx/tools/configure.sh
parent14a77ec91b12454c9106836b3d4a08c63a098e1d (diff)
downloadpx4-nuttx-3689d913ceb2bb52b808e0e5598e83bcfdd88134.tar.gz
px4-nuttx-3689d913ceb2bb52b808e0e5598e83bcfdd88134.tar.bz2
px4-nuttx-3689d913ceb2bb52b808e0e5598e83bcfdd88134.zip
/configs/stm32f4discovery/winbuild and configs/cloudctrl upated to use Mike's Toolchain.defs; Fix error introduced into tools/configure.sh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5380 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/configure.sh')
-rwxr-xr-xnuttx/tools/configure.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/tools/configure.sh b/nuttx/tools/configure.sh
index 5bff89922..ffa997178 100755
--- a/nuttx/tools/configure.sh
+++ b/nuttx/tools/configure.sh
@@ -181,8 +181,8 @@ fi
# For checking the apps dir path, we need a POSIX version of the relative path.
-posappdir=`echo "${appdir}" | sed -e "s/\\/\/g"`
-winappdir=`echo "${appdir}" | sed -e "s/\//\\/g"`
+posappdir=`echo "${appdir}" | sed -e 's/\\\\/\\//g'`
+winappdir=`echo "${appdir}" | sed -e 's/\\//\\\\/g'`
# If appsdir was provided (or discovered) then make sure that the apps/
# directory exists
@@ -213,7 +213,7 @@ if [ "X${defappdir}" = "Xy" ]; then
echo "" >> "${tmp_config}"
echo "# Application configuration" >> "${tmp_config}"
echo "" >> "${tmp_config}"
- if [ "X${winnative)" = "Xy" ]; then
+ if [ "X${winnative}" = "Xy" ]; then
echo "CONFIG_APPS_DIR=\"$winappdir\"" >> "${tmp_config}"
else
echo "CONFIG_APPS_DIR=\"$posappdir\"" >> "${tmp_config}"