diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-21 19:54:44 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-21 19:54:44 +0000 |
commit | 27ec2129d73f3144f8b6436a6a6b10937a3d7155 (patch) | |
tree | 8d04a7378abacc76fc1078ee585c593f141ecc64 /nuttx/tools/configure.sh | |
parent | 057c41d277bedaac328423816182669fab99a7b4 (diff) | |
download | px4-firmware-27ec2129d73f3144f8b6436a6a6b10937a3d7155.tar.gz px4-firmware-27ec2129d73f3144f8b6436a6a6b10937a3d7155.tar.bz2 px4-firmware-27ec2129d73f3144f8b6436a6a6b10937a3d7155.zip |
/configs/stm32f4discovery/winbuild and configs/cloudctrl upated to use Mike's Toolchain.defs; Fix error introduced into tools/configure.sh
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5380 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/configure.sh')
-rwxr-xr-x | nuttx/tools/configure.sh | 6 |
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}" |