From 0259eafe434103ea0742058086f9a376ae2dc697 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Tue, 31 Oct 2023 22:51:49 -0500 Subject: [PATCH] Update Makefile: remove "-e" from echo --- config_repo/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config_repo/Makefile b/config_repo/Makefile index 93b961a64..f31fef2a6 100644 --- a/config_repo/Makefile +++ b/config_repo/Makefile @@ -84,7 +84,7 @@ install: createDirs $(CONFIGFILES) $(ENVFILE) @install -m 0644 allsky.service $(DESTDIR)$(sysconfdir)/systemd/system/ @rm -f allsky.service @echo `date +%F\ %R:%S` Setting up home environment variable... - @echo -e "export ALLSKY_TMP=/tmp\nexport ALLSKY_CONFIG=$(DESTDIR)$(sysconfdir)/allsky\nexport ALLSKY_SCRIPTS=$(DESTDIR)$(libexecdir)\nexport ALLSKY_NOTIFICATION_IMAGES=$(DESTDIR)$(sharedir)\nexport ALLSKY_IMAGES=/home/allsky/images/\nPATH=${PATH}:${DESTDIR}$(libexedir)" > $(DESTDIR)$(sysconfdir)/profile.d/allsy.sh + @echo "export ALLSKY_TMP=/tmp\nexport ALLSKY_CONFIG=$(DESTDIR)$(sysconfdir)/allsky\nexport ALLSKY_SCRIPTS=$(DESTDIR)$(libexecdir)\nexport ALLSKY_NOTIFICATION_IMAGES=$(DESTDIR)$(sharedir)\nexport ALLSKY_IMAGES=/home/allsky/images/\nPATH=${PATH}:${DESTDIR}$(libexedir)" > $(DESTDIR)$(sysconfdir)/profile.d/allsy.sh else # Not in package build mode ###################################### @@ -136,8 +136,8 @@ install: createDirs $(CONFIGFILES) $(ENVFILE) @systemctl daemon-reload @systemctl enable allsky @systemctl enable allskyperiodic - @echo `date +%F\ %R:%S` Setting up home environment variable... - @echo -e "export ALLSKY_HOME=$(HOMEDIR)\nPATH=${PATH}:$(SCRIPTSDIR)" > $(DESTDIR)$(sysconfdir)/profile.d/allsky.sh + @echo `date +%F\ %R:%S` Setting up ALLSKY_HOME environment variable... + @echo "export ALLSKY_HOME=$(HOMEDIR)\nPATH=${PATH}:$(SCRIPTSDIR)" > $(DESTDIR)$(sysconfdir)/profile.d/allsky.sh .PHONY : install endif # Package build check endif # Root check