diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-24 07:48:35 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-24 07:48:35 -0600 |
commit | 1f0b90799b29abc2f8ed9720a3a331e72e6d12e8 (patch) | |
tree | c50d4a602f4a6ae710a0006c7d6810e0e564bcb3 /nuttx/tools | |
parent | c175995faefdef0a7ae00eb50563886db9f3a991 (diff) | |
download | px4-nuttx-1f0b90799b29abc2f8ed9720a3a331e72e6d12e8.tar.gz px4-nuttx-1f0b90799b29abc2f8ed9720a3a331e72e6d12e8.tar.bz2 px4-nuttx-1f0b90799b29abc2f8ed9720a3a331e72e6d12e8.zip |
use -m install of --mode in configure.sh for OSX compatibility
Diffstat (limited to 'nuttx/tools')
-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 e58d76e8d..7b3a1bdc1 100755 --- a/nuttx/tools/configure.sh +++ b/nuttx/tools/configure.sh @@ -193,14 +193,14 @@ fi # Okay... Everything looks good. Setup the configuration -install --mode=644 "${src_makedefs}" "${dest_makedefs}" || \ +install -m 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 --mode=644 "${src_config}" "${dest_config}" || \ +install -m 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 --mode=644 "${configpath}/appconfig" "${TOPDIR}/${posappdir}/.config" || \ + install -m 644 "${configpath}/appconfig" "${TOPDIR}/${posappdir}/.config" || \ { echo "Failed to copy ${configpath}/appconfig" ; exit 10 ; } fi fi |