Merge pull request #40 from xiaoxiang781216/fix-shell-script-format

tools/*.sh:  Format all shell scripts in tools folder
This commit is contained in:
patacongo
2020-01-05 10:55:54 -06:00
committed by GitHub
23 changed files with 1205 additions and 1213 deletions
-1
View File
@@ -98,4 +98,3 @@ cp -a "${src}" "${dest}" || \
{ echo "Failed to create link: $dest" ; rm -rf ${dest} ; exit 1 ; } { echo "Failed to create link: $dest" ; rm -rf ${dest} ; exit 1 ; }
touch "${dest}/.fakelnk" || \ touch "${dest}/.fakelnk" || \
{ echo "Failed to touch ${dest}/.fakelnk" ; rm -rf ${dest} ; exit 1 ; } { echo "Failed to touch ${dest}/.fakelnk" ; rm -rf ${dest} ; exit 1 ; }
-2
View File
@@ -224,5 +224,3 @@ for vardef in $varlist; do
done done
echo $response echo $response
-2
View File
@@ -233,5 +233,3 @@ if [ "X$fmt" = "Xzds" ]; then
fi fi
echo $response echo $response
-1
View File
@@ -128,4 +128,3 @@ rem Restore the original PATH settings
:End :End
set PATH=%oldpath% set PATH=%oldpath%
-1
View File
@@ -109,4 +109,3 @@ if [ ! -h ${dest} ]; then
exit 1 exit 1
fi fi
fi fi
-1
View File
@@ -255,4 +255,3 @@ ${ZIP} ${APPS_TARNAME} || \
{ echo "zip of ${APPS_TARNAME} failed!" ; exit 1 ; } { echo "zip of ${APPS_TARNAME} failed!" ; exit 1 ; }
cd ${NUTTX} cd ${NUTTX}