Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Write the flags recipe the way the version one is
Its message also spells the project's name as cgit.
| -rw-r--r-- | source/cgit.mk | 6 |
1 file changed, 3 insertions, 3 deletions
diff --git a/source/cgit.mk b/source/cgit.mk index a9af22e..62cbfd0 100644 --- a/source/cgit.mk +++ b/source/cgit.mk @@ -156,9 +156,9 @@ $(CGIT_BUILD)/.depend: $(CGIT_BUILD)/CGIT-CFLAGS: FORCE @mkdir -p $(CGIT_BUILD)/ @FLAGS='$(subst ','\'',$(CGIT_CFLAGS))'; \ - OLD=`cat $(CGIT_BUILD)/CGIT-CFLAGS 2>/dev/null`; \ - if test x"$$FLAGS" != x"$$OLD"; then \ - echo 1>&2 " * new CGit build flags"; \ + OLD=$$(cat $(CGIT_BUILD)/CGIT-CFLAGS 2>/dev/null); \ + if test "$$FLAGS" != "$$OLD"; then \ + echo 1>&2 " * new cgit build flags"; \ echo "$$FLAGS" >$(CGIT_BUILD)/CGIT-CFLAGS; \ fi |
