changeset 135:c8fadb1b0dbe

after unpacking, check whether the expected subdirectory exists
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 08 Nov 2008 19:31:05 +0100
parents d24e76675835
children 5ce5e7791d61
files Makefile
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Nov 08 19:27:57 2008 +0100
+++ b/Makefile	Sat Nov 08 19:31:05 2008 +0100
@@ -46,6 +46,7 @@
 	    $(call DOWNLOAD,$($(1)_URL),$($(1)_URL_2)) )
 	cd '$(2)' && \
 	    $(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))
+	cd '$(2)/$($(1)_SUBDIR)'
 	$$(call $(1)_BUILD,$(2)/$($(1)_SUBDIR))
 	rm -rfv '$(2)'
 	touch '$$@'