2014-08-13 10:07:21 +00:00
|
|
|
Index: shim-0.7/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- shim-0.7.orig/Makefile
|
|
|
|
+++ shim-0.7/Makefile
|
|
|
|
@@ -67,7 +67,7 @@ shim_cert.h: shim.cer
|
2014-04-29 07:15:01 +00:00
|
|
|
|
|
|
|
version.c : version.c.in
|
|
|
|
sed -e "s,@@VERSION@@,$(VERSION)," \
|
|
|
|
- -e "s,@@UNAME@@,$(shell uname -a)," \
|
|
|
|
+ -e "s,@@UNAME@@,$(shell uname -o)," \
|
|
|
|
-e "s,@@COMMIT@@,$(shell if [ -d .git ] ; then git log -1 --pretty=format:%H ; elif [ -f commit ]; then cat commit ; else echo commit id not available; fi)," \
|
|
|
|
< version.c.in > version.c
|
|
|
|
|