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