Compare commits
2 Commits
2d76b37e5d
...
szeged_pre
Author | SHA1 | Date | |
---|---|---|---|
5bca1f498b | |||
2d1f11fd74 |
@@ -203,7 +203,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
||||
readonly SYSCONF_INI="sysconfig.ini"
|
||||
readonly SYSCTRL_INI="SystemControl.ini"
|
||||
readonly TARIFF_CURRENT="tariff.current"
|
||||
readonly DC="dc2c.hex"
|
||||
readonly DC="dc2c.bin"
|
||||
readonly TARIFF_SUMMER="summer_tariff.json"
|
||||
readonly TARIFF_WINTER="winter_tariff.json"
|
||||
|
||||
|
@@ -43,7 +43,11 @@ while test $# -gt 0; do
|
||||
;;
|
||||
--wdir | --wdi | --wd | --w | -wdir | -wdi | -wd | -w )
|
||||
shift
|
||||
WORKING_DIRECTORY="$1"
|
||||
if [ "$1" = "." ]; then
|
||||
WORKING_DIRECTORY="$PWD"
|
||||
else
|
||||
WORKING_DIRECTORY="$1"
|
||||
fi
|
||||
;;
|
||||
--help | -hel | --he | --h | '--?' | -help | -hel | -he | -h | '-?' )
|
||||
usage_and_exit 0
|
||||
|
Reference in New Issue
Block a user