mirror of https://github.com/sfeakes/AqualinkD.git
Fix typos and logic bug in remote_install.sh and Makefile
- remote_install.sh: Fix $FASE typo → $FALSE so FROM_CURL initializes correctly - remote_install.sh: Fix else → elif in check_can_upgrade so logerr only fires when there are actual errors, not unconditionally - Makefile: Fix missing closing paren in $(shell ...) and 'realease' typo in dockerbuildnrun target Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>pull/494/head
parent
3af81d8624
commit
8e525c41b4
2
Makefile
2
Makefile
|
|
@ -224,7 +224,7 @@ quickbuild: armhf arm64
|
|||
|
||||
# This is run inside container Dockerfile.releaseBinariies (aqualinkd-releasebin)
|
||||
dockerbuildnrun: ./release/aqualinkd
|
||||
$(shell ./release/aqualinkd -d -c ./realease/aqualinkd.test.conf
|
||||
$(shell ./release/aqualinkd -d -c ./release/aqualinkd.test.conf)
|
||||
|
||||
|
||||
debugbuild: CFLAGS = $(DFLAGS)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ ERROR_ON_GLIBC=$FALSE # $TRUE will error and not continue, $FALSE will give a wa
|
|||
REQUIRED_GLIBC_VERSION="2.31"
|
||||
|
||||
|
||||
FROM_CURL=$FASE
|
||||
FROM_CURL=$FALSE
|
||||
SYSTEMD_LOG=$FALSE
|
||||
|
||||
USE_RELEASE_PKG=$TRUE
|
||||
|
|
@ -225,9 +225,9 @@ function check_can_upgrade {
|
|||
fi
|
||||
fi
|
||||
|
||||
if [[ "$output" == "" ]] && [[ "$REL_VERSION" != "" ]]; then
|
||||
if [[ "$output" == "" ]] && [[ "$REL_VERSION" != "" ]]; then
|
||||
return "$TRUE"
|
||||
else [[ "$output" != "" ]]
|
||||
elif [[ "$output" != "" ]]; then
|
||||
logerr "$output";
|
||||
return "$FALSE"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue