Sequencer - sourcing config independent from dry run again
This commit is contained in:
@@ -547,7 +547,7 @@ initSeqConfig() {
|
||||
if [ -s "$configLoc" ] ; then
|
||||
echoseq " [I] Using configuration file: $configLoc"
|
||||
SEQ_CONFIG_FILE="$configLoc"
|
||||
exe . "$configLoc"
|
||||
. "$configLoc"
|
||||
return 0
|
||||
fi
|
||||
|
||||
@@ -575,7 +575,7 @@ initSeqConfig() {
|
||||
|
||||
echoerr " [I] Using existing configuration: $configExists"
|
||||
echoerr " (Moved to $configDir)"
|
||||
exe . "$configLoc"
|
||||
. "$configLoc"
|
||||
retVal=0
|
||||
else
|
||||
# Install new template to the final location
|
||||
@@ -591,7 +591,7 @@ initSeqConfig() {
|
||||
else
|
||||
echo " [W] Using seq configuration from template $configTemplate"
|
||||
echo " (Copied to $configDir)"
|
||||
exe . "$configTemplate"
|
||||
. "$configTemplate"
|
||||
retVal=0
|
||||
fi
|
||||
fi
|
||||
@@ -618,7 +618,7 @@ initSeqConfig() {
|
||||
case $answer in
|
||||
[yY])
|
||||
exe "$DEFAULT_EDITOR_SYSTEM" "$configLoc"
|
||||
exe . "$configLoc"
|
||||
. "$configLoc"
|
||||
retVal=0
|
||||
;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user