Fix always setting SEQ_CONFIG_HOME
This commit is contained in:
@@ -350,9 +350,9 @@ initSeqConfig() {
|
|||||||
echo -n " [I] Creating $(realpath $configDir)..."
|
echo -n " [I] Creating $(realpath $configDir)..."
|
||||||
exe mkdir -p "$configDir" && echo "Ok" || echo "Nok"
|
exe mkdir -p "$configDir" && echo "Ok" || echo "Nok"
|
||||||
exe chmod 700 "$configDir"
|
exe chmod 700 "$configDir"
|
||||||
else
|
|
||||||
SEQ_CONFIG_HOME="$configDir"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
SEQ_CONFIG_HOME="$configDir"
|
||||||
|
|
||||||
if [ -s "$configLoc" ] ; then
|
if [ -s "$configLoc" ] ; then
|
||||||
if [ $QUIET -ne 2 ] ; then echo " [I] Using configuration file: $configLoc" ; fi
|
if [ $QUIET -ne 2 ] ; then echo " [I] Using configuration file: $configLoc" ; fi
|
||||||
|
Reference in New Issue
Block a user