diff options
Diffstat (limited to 'nuttx/configs/mcu123-lpc214x/ostest/setenv.sh')
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/ostest/setenv.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh b/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh index fa840b656..c4b3b42bd 100755 --- a/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh +++ b/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh @@ -1,7 +1,7 @@ #!/bin/bash # configs/mcu123-lpc2148/ostest/setenv.sh # -# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -37,11 +37,11 @@ if [ "$(basename $0)" = "setenv.sh" ] ; then exit 1 fi -if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi +if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}"; fi WD=`pwd` -export BUILDROOT_BIN=${WD}/../buildroot/build_arm_nofpu/staging_dir/bin -export LPC214XSCRIPTS=$WD/configs/mcu123-lpc214x/scripts -export PATH=${BUILDROOT_BIN}:${LPC214XSCRIPTS}:/sbin:/usr/sbin:${PATH_ORIG} +export BUILDROOT_BIN="${WD}/../buildroot/build_arm_nofpu/staging_dir/bin" +export LPC214XSCRIPTS="$WD/configs/mcu123-lpc214x/scripts" +export PATH="${BUILDROOT_BIN}:${LPC214XSCRIPTS}:/sbin:/usr/sbin:${PATH_ORIG}" echo "PATH : ${PATH}" |