From 32e83cb55d31d297315efe2604db1b0f8b7b5861 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Wed, 19 Apr 2017 11:53:58 -0600 Subject: [PATCH 1/2] Update ARDUINO script per issue #859 from @pasko-zh --- IDE/ARDUINO/wolfssl-arduino.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/IDE/ARDUINO/wolfssl-arduino.sh b/IDE/ARDUINO/wolfssl-arduino.sh index d076ea7a1..8ed12da60 100755 --- a/IDE/ARDUINO/wolfssl-arduino.sh +++ b/IDE/ARDUINO/wolfssl-arduino.sh @@ -13,3 +13,14 @@ if [ "$DIR" = "ARDUINO" ]; then else echo "ERROR: You must be in the IDE/ARDUINO directory to run this script" fi + +#UPDATED: 19 Apr 2017 to remove bio.c and evp.c from the root directory since +# they are included inline and should not be compiled directly + +PWD=${PWD} +cd ../../ +rm bio.c +rm evp.c +cd $PWD + +#End UPDATE: 19 Apr 2017 From 14e37cdc4cf937c820c3710e28568c06de5ce723 Mon Sep 17 00:00:00 2001 From: Kaleb Himes Date: Wed, 19 Apr 2017 13:10:55 -0600 Subject: [PATCH 2/2] Change variable name, add comment --- IDE/ARDUINO/wolfssl-arduino.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IDE/ARDUINO/wolfssl-arduino.sh b/IDE/ARDUINO/wolfssl-arduino.sh index 8ed12da60..4da3ff4b6 100755 --- a/IDE/ARDUINO/wolfssl-arduino.sh +++ b/IDE/ARDUINO/wolfssl-arduino.sh @@ -17,10 +17,10 @@ fi #UPDATED: 19 Apr 2017 to remove bio.c and evp.c from the root directory since # they are included inline and should not be compiled directly -PWD=${PWD} +ARDUINO_DIR=${PWD} cd ../../ rm bio.c rm evp.c -cd $PWD - +cd $ARDUINO_DIR +# end script in the origin directory for any future functionality that may be added. #End UPDATE: 19 Apr 2017