patch-drbd_Makefile 598 B

12345678910111213141516171819
  1. --- drbd-8.3.10.orig/drbd/Makefile 2011-01-26 14:57:59.000000000 +0100
  2. +++ drbd-8.3.10/drbd/Makefile 2011-10-23 10:22:50.000000000 +0200
  3. @@ -65,7 +65,6 @@ else
  4. # for some reason some of the commands below only work correctly in bash,
  5. # and not in e.g. dash. I'm too lazy to fix it to be compatible.
  6. - SHELL=/bin/bash
  7. DRBDSRC := $(shell pwd)
  8. @@ -133,7 +132,7 @@ else
  9. grep return $@ ; \
  10. fi ; \
  11. echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \
  12. - mv --force $@.new $@
  13. + mv -f $@.new $@
  14. kbuild: drbd_buildtag.c
  15. @rm -f .drbd_kernelrelease*