Apply queuelog patch and perform final test of "test patches" system

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-03-11 08:49:01 +00:00
parent 2e0cf7a00c
commit dbd42a645f
4 changed files with 64 additions and 243 deletions

View File

@@ -660,7 +660,7 @@ apply:
unapply:
@if [ -z "$(PATCH)" ]; then \
echo "Usage: make PATCH=<patchname> unapply"; \
elif !grep -q ^$(PATCH)$$ patches/.applied 2>/dev/null; then \
elif ! grep -q ^$(PATCH)$$ patches/.applied 2>/dev/null; then \
echo "Patch $(PATCH) is not applied"; \
elif [ -f "patches/$(PATCH)" ]; then \
echo "Un-applying patch $(PATCH)"; \