Mercurial > hg > release > thermostat-1.6
changeset 2050:815ff6e26855
Fix thermostat-command-channel and thermostat-setup scripts.
PR3238
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-January/022001.html
author | Jie Kang <jkang@redhat.com> |
---|---|
date | Tue, 17 Jan 2017 12:56:27 -0500 |
parents | a92d602216ad |
children | dabe5861fa5a |
files | distribution/scripts/thermostat-command-channel distribution/scripts/thermostat-setup |
diffstat | 2 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/distribution/scripts/thermostat-command-channel Tue Jan 17 12:19:56 2017 -0500 +++ b/distribution/scripts/thermostat-command-channel Tue Jan 17 12:56:27 2017 -0500 @@ -74,7 +74,6 @@ fi # TODO Maybe there is a more reliable way to do this -CWD="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" THIS_SCRIPT="$CWD/thermostat-command-channel" SCRIPT_OWNER=$(stat -c '%U' "$THIS_SCRIPT")
--- a/distribution/scripts/thermostat-setup Tue Jan 17 12:19:56 2017 -0500 +++ b/distribution/scripts/thermostat-setup Tue Jan 17 12:56:27 2017 -0500 @@ -37,7 +37,7 @@ ##################################################################### # Source thermostat-functions from same directory as this script -. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/thermostat-functions +. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/thermostat-common echo "THIS SCRIPT IS DEPRECATED! Please use 'thermostat setup -c' instead." 1>&2 # Call the thermostat non-gui version of setup