mirror of https://github.com/wolfSSL/wolfssl.git
Don't need to store state anymore
parent
1f6071df33
commit
610c45afb6
|
@ -43,14 +43,6 @@
|
|||
######################## FUNCTIONS SECTION ####################################
|
||||
###############################################################################
|
||||
|
||||
#function for restoring a previous configure state
|
||||
restore_config(){
|
||||
mv tmp.status config.status
|
||||
mv tmp.options.h wolfssl/options.h
|
||||
make clean
|
||||
make -j 8
|
||||
}
|
||||
|
||||
check_result(){
|
||||
if [ $1 -ne 0 ]; then
|
||||
echo "Failed at \"$2\", Abort"
|
||||
|
@ -863,11 +855,6 @@ if [ ! -z "$1" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Saving the configure state"
|
||||
echo ""
|
||||
cp config.status tmp.status || exit 1
|
||||
cp wolfssl/options.h tmp.options.h || exit 1
|
||||
|
||||
echo "Running make clean"
|
||||
echo ""
|
||||
make clean
|
||||
|
@ -877,8 +864,4 @@ run_renewcerts
|
|||
cd ../ || exit 1
|
||||
rm ./certs/wolfssl.cnf
|
||||
|
||||
# restore previous configure state
|
||||
restore_config
|
||||
check_result $? "restoring old configuration"
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue