projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0753eb7
)
when building a package, make sure that older versions get removed
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 Feb 2007 01:00:01 +0000
(
01:00
+0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 Feb 2007 01:00:01 +0000
(
01:00
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6303
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
include/package.mk
patch
|
blob
|
history
diff --git
a/include/package.mk
b/include/package.mk
index
12e4190
..
8457516
100644
(file)
--- a/
include/package.mk
+++ b/
include/package.mk
@@
-213,6
+213,7
@@
define BuildPackage
$(eval $(call BuildIPKGVariable,$(1),prerm))
$(eval $(call BuildIPKGVariable,$(1),postrm))
$$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH)
+ @rm -f $(PACKAGE_DIR)/$(1)_*
mkdir -p $$(IDIR_$(1))/CONTROL
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
This page took
0.024601 seconds
and
4
git commands to generate.