summaryrefslogtreecommitdiffstats
path: root/nuttx/tools/configure.sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-14 17:28:21 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-14 17:28:21 +0000
commitae6e6bb741a1762ffca04acee6e8a6c605e25881 (patch)
tree24b52ad859812188f943f7a4064e9bcbad629c58 /nuttx/tools/configure.sh
parent0dd5dbe12595884a88723699940a21f713b9d3a5 (diff)
More version-related fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3504 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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 a4e74d4ee9..0103716a02 100755
--- a/nuttx/tools/configure.sh
+++ b/nuttx/tools/configure.sh
@@ -121,7 +121,7 @@ if [ -z "${appdir}" ]; then
# Check for a version file
- unset CONFIG_NUTTX_VERSION
+ unset CONFIG_VERSION_STRING
if [ -x "${TOPDIR}/.version" ]; then
source "${TOPDIR}/.version"
fi
@@ -134,8 +134,8 @@ if [ -z "${appdir}" ]; then
else
# Check for a versioned apps/ directory
- if [ -d "${TOPDIR}/../apps-${CONFIG_NUTTX_VERSION}" ]; then
- appdir="../apps-${CONFIG_NUTTX_VERSION}"
+ if [ -d "${TOPDIR}/../apps-${CONFIG_VERSION_STRING}" ]; then
+ appdir="../apps-${CONFIG_VERSION_STRING}"
fi
fi
fi