Change directory
This commit is contained in:
parent
a2ef741834
commit
da606c5574
|
@ -48,6 +48,8 @@ MINIMUM_LENGTH=6
|
|||
IMPORT_FILE=
|
||||
EXPORT_FILE=
|
||||
|
||||
CURRENT_DIR=$(pwd)
|
||||
|
||||
function get_protocols_from_website {
|
||||
if [ ! -f $WEBSITES_DIRECTORY/$1 ]; then
|
||||
return
|
||||
|
@ -315,6 +317,8 @@ function interactive_setup {
|
|||
}
|
||||
|
||||
function import_settings {
|
||||
cd $CURRENT_DIR
|
||||
|
||||
if [ ! $IMPORT_FILE ]; then
|
||||
return
|
||||
fi
|
||||
|
@ -385,6 +389,8 @@ function export_settings {
|
|||
return
|
||||
fi
|
||||
|
||||
cd $CURRENT_DIR
|
||||
|
||||
if [ ! -f $EXPORT_FILE ]; then
|
||||
if [ "$SSL_PROTOCOLS" ]; then
|
||||
echo "SSL_PROTOCOLS=$SSL_PROTOCOLS" >> $EXPORT_FILE
|
||||
|
|
Loading…
Reference in New Issue