From 0e603493af19ff36282faca12af09d59080a1031 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer <akohlmey@gmail.com> Date: Wed, 9 May 2018 23:27:56 -0400 Subject: [PATCH] fix bug that made compilation fail with no packages installed --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 2504a49ad4..96648d5935 100644 --- a/src/Makefile +++ b/src/Makefile @@ -153,7 +153,7 @@ help: lmpinstalledpkgs.h: $(SRC) $(INC) @echo 'Gathering installed package information (may take a little while)' - @echo 'static const char lammps_installed_packages[] = ' > lmpinstalledpkgs.tmp + @echo 'static const char lammps_installed_packages[] = " "' > lmpinstalledpkgs.tmp @for p in $(PACKAGEUC) $(PACKUSERUC); do info=$$($(SHELL) Package.sh $$p installed); \ [ -n "$$info" ] && echo "\"$$info\"" | sed -e 's/".*package/"/' >> lmpinstalledpkgs.tmp || :; done @echo ';' >> lmpinstalledpkgs.tmp -- GitLab