--- Makefile.am.orig	2007-04-19 01:48:53.000000000 -0700
+++ Makefile.am	2007-04-19 02:03:39.000000000 -0700
@@ -13,8 +13,8 @@
 ## abilities
 script_DATA =
 install-data-hook:
-	chmod +w $(scriptdir)
-	$(INSTALL) $(srcdir)/scripts/* $(scriptdir)
+	chmod +w $(DESTDIR)$(scriptdir)
+	$(INSTALL) $(srcdir)/scripts/* $(DESTDIR)$(scriptdir)
 
 uninstall-hook:
 	rm -rf $(scriptdir)/*