kopia lustrzana https://github.com/Hamlib/Hamlib
Avoid 'echo -n' as macOS sh doesn't support it
rodzic
c84778b971
commit
7d53c28ac2
|
@ -102,8 +102,7 @@ testloc.sh:
|
||||||
hamlibdatetime.h: FORCE
|
hamlibdatetime.h: FORCE
|
||||||
echo "SHA=$(SHA)"
|
echo "SHA=$(SHA)"
|
||||||
test ! -x $(top_srcdir)/.git || echo "/* This date time is from the last non-merge commit to Hamlib. */" > $(srcdir)/hamlibdatetime.h
|
test ! -x $(top_srcdir)/.git || echo "/* This date time is from the last non-merge commit to Hamlib. */" > $(srcdir)/hamlibdatetime.h
|
||||||
test ! -x $(top_srcdir)/.git || echo -n "#define HAMLIBDATETIME "\"$$(TZ=UTC git --git-dir=$(top_srcdir)/.git log --no-merges --date='format-local:%a %b %d %H:%M:%S %Y %z SHA=' --format='%cd' -n 1)"" >> $(srcdir)/hamlibdatetime.h
|
test ! -x $(top_srcdir)/.git || echo "#define HAMLIBDATETIME "\"$$(TZ=UTC git --git-dir=$(top_srcdir)/.git log --no-merges --date='format-local:%a %b %d %H:%M:%S %Y %z SHA=' --format='%cd' -n 1)$$(git --git-dir=$(top_srcdir)/.git log --no-merges | grep commit | head -n 1 | cut -c8-13)\" >> $(srcdir)/hamlibdatetime.h
|
||||||
test ! -x $(top_srcdir)/.git || echo $$(git --git-dir=$(top_srcdir)/.git log --no-merges | grep commit | head -n 1 | cut -c8-13)\" >> $(srcdir)/hamlibdatetime.h
|
|
||||||
test -f $(srcdir)/hamlibdatetime.h || cp $(srcdir)/hamlibdatetime.h.in $(srcdir)/hamlibdatetime.h
|
test -f $(srcdir)/hamlibdatetime.h || cp $(srcdir)/hamlibdatetime.h.in $(srcdir)/hamlibdatetime.h
|
||||||
|
|
||||||
FORCE: ;
|
FORCE: ;
|
||||||
|
|
Ładowanie…
Reference in New Issue