Skip to content

Commit

Permalink
Merge pull request AllskyTeam#3079 from thomasjacquin/Makefile-remove…
Browse files Browse the repository at this point in the history
…-"-e"-from-echo

Update Makefile: remove "-e" from echo
  • Loading branch information
EricClaeys authored Nov 1, 2023
2 parents bc6327e + 0259eaf commit 7ed277d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config_repo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ######################################
Expand Down Expand Up @@ -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

0 comments on commit 7ed277d

Please sign in to comment.