summaryrefslogtreecommitdiff
path: root/nuttx/tools/configure.sh
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-15 11:05:15 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-15 11:05:15 -0600
commit7367295fa7f5346b76a344002280609448e32807 (patch)
tree64d55c909f802d328216c1bc8ddb5327ac56b23a /nuttx/tools/configure.sh
parent5a76ae0ab3dcc7c120288fd4e48bf3d0b7cdad70 (diff)
downloadpx4-nuttx-7367295fa7f5346b76a344002280609448e32807.tar.gz
px4-nuttx-7367295fa7f5346b76a344002280609448e32807.tar.bz2
px4-nuttx-7367295fa7f5346b76a344002280609448e32807.zip
Misc changes from Richard Cochran
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 89f2e2fbc..e58d76e8d 100755
--- a/nuttx/tools/configure.sh
+++ b/nuttx/tools/configure.sh
@@ -193,14 +193,14 @@ fi
# Okay... Everything looks good. Setup the configuration
-install "${src_makedefs}" "${dest_makedefs}" || \
+install --mode=644 "${src_makedefs}" "${dest_makedefs}" || \
{ echo "Failed to copy \"${src_makedefs}\"" ; exit 7 ; }
if [ "X${have_setenv}" = "Xy" ]; then
install "${src_setenv}" "${dest_setenv}" || \
{ echo "Failed to copy ${src_setenv}" ; exit 8 ; }
chmod 755 "${dest_setenv}"
fi
-install "${src_config}" "${dest_config}" || \
+install --mode=644 "${src_config}" "${dest_config}" || \
{ echo "Failed to copy \"${src_config}\"" ; exit 9 ; }
# If we did not use the CONFIG_APPS_DIR that was in the defconfig config file,
@@ -227,7 +227,7 @@ if [ ! -z "${appdir}" -a "X${newconfig}" != "Xy" ]; then
if [ ! -r "${configpath}/appconfig" ]; then
echo "NOTE: No readable appconfig file found in ${configpath}"
else
- install "${configpath}/appconfig" "${TOPDIR}/${posappdir}/.config" || \
+ install --mode=644 "${configpath}/appconfig" "${TOPDIR}/${posappdir}/.config" || \
{ echo "Failed to copy ${configpath}/appconfig" ; exit 10 ; }
fi
fi