summaryrefslogtreecommitdiff
path: root/kolab-fbview
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2008-11-20 17:46:57 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2008-11-20 17:46:57 (GMT)
commit9bbaffbc0942e3e85099325bf81a532c4e647226 (patch)
tree3e7c08d615ab0bd5f1f391746de89d08aad31a53 /kolab-fbview
parente6fdabe61e810df1576407f93f69bff6474e74e2 (diff)
downloadserver-9bbaffbc0942e3e85099325bf81a532c4e647226.tar.gz
Fix kolab/issue3258 (Building kolab-webclient from CVS fails)
wget -c creates a corrupted file if there already is an old version of the file. Additionally taking the file from the checkout is better than downloading it from viewcvs since you compile what you have checked out instead of something else.
Diffstat (limited to 'kolab-fbview')
-rw-r--r--kolab-fbview/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/kolab-fbview/Makefile b/kolab-fbview/Makefile
index a52a165..a0f500f 100644
--- a/kolab-fbview/Makefile
+++ b/kolab-fbview/Makefile
@@ -24,7 +24,7 @@ SOURCE_VERSION = $(shell grep "%define[ ]*V_source_version" *.spec | sed -e "s/.
PASSWD_VERSION = $(shell grep "%define[ ]*V_passwd_version" *.spec | sed -e "s/.*V_passwd_version\s*\([0-9._a-z]*\).*/\1/")
RELEASE = ${YEAR}${MONTH}${DAY}
-PATCHES = http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/horde-webmail/$(VERSION)/horde-webmail-$(VERSION)_kolab_fbview_openpkg.patch
+PATCHES = ../patches/horde-webmail/$(VERSION)/horde-webmail-$(VERSION)_kolab_fbview_openpkg.patch
TEMPLATES = $(shell find . -name "*.template")
CONFIGS = $(shell find . -name "*.php")
@@ -48,8 +48,8 @@ $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: Makefile $(PACKAGE).spec $(TEMPLATES)
test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"
- cd $(KOLABRPMSRC)/$(PACKAGE) && for PATCH in $(PATCHES); do \
- wget -c "$$PATCH"; done
+ for PATCH in $(PATCHES); do \
+ cp "$$PATCH" $(KOLABRPMSRC)/$(PACKAGE); done
cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)