]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Correct path
authorAron Xu <aron@debian.org>
Mon, 2 Nov 2015 16:52:48 +0000 (00:52 +0800)
committerAron Xu <aron@debian.org>
Mon, 2 Nov 2015 16:52:48 +0000 (00:52 +0800)
debian/rules

index 7a73bd458360f39e01a21435c8324f9094447c35..45319dcab72d3d40556650476da4e456bdc85b6a 100755 (executable)
@@ -85,7 +85,7 @@ override_dh_auto_install:
 
        @# This shunt allows DKMS to install the Module.symvers and zfs_config.h
        @# files to the ${dkms_tree} area through the POST_INSTALL directive.
-       printf '#!/bin/sh\ncp "$$@"\n' >'$(META_DISTDIR)/cp'
+       printf '#!/bin/sh\ncp "$$@"\n' > '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(VERSION)/cp'
        chmod 755 '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(VERSION)/cp'
 
        mkdir -p $(CURDIR)/debian/tmp/usr/lib