#! /bin/sh -e
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Don't touch the builder's home
if [ $# -ne 1 ]; then
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1
fi
case "$1" in
-patch) patch -f --no-backup-if-mismatch -p1 < $0;;
-unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
*)
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1;;
esac
exit 0
@DPATCH@
diff -urN eresi-0.8a25.orig/configure eresi-0.8a25/configure
--- eresi-0.8a25.orig/configure 2008-12-09 21:15:00.000000000 +0000
+++ eresi-0.8a25/configure 2008-12-09 21:28:35.000000000 +0000
@@ -638,10 +638,6 @@
echo " @echo 'Kernsh has been built successfully.' " >> Makefile
fi
-if [ ! -e ~/.eresirc ]; then
-echo " @cp doc/eresirc.example ~/.eresirc " >> Makefile
-fi
-
echo ".PHONY: modules " >> Makefile
echo "modules: " >> Makefile
echo "# @echo 'Building ELFsh modules suite...' " >> Makefile