summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--corepkgs/fetchurl/Makefile.am2
-rw-r--r--corepkgs/nar/Makefile.am4
2 files changed, 3 insertions, 3 deletions
diff --git a/corepkgs/fetchurl/Makefile.am b/corepkgs/fetchurl/Makefile.am
index 44e07280fe..72741ac23f 100644
--- a/corepkgs/fetchurl/Makefile.am
+++ b/corepkgs/fetchurl/Makefile.am
@@ -3,7 +3,7 @@ all-local: fetchurl.sh
 install-exec-local:
 	$(INSTALL) -d $(datadir)/fix/fetchurl
 	$(INSTALL_DATA) fetchurl.fix $(datadir)/fix/fetchurl
-	$(INSTALL_DATA) fetchurl.sh $(datadir)/fix/fetchurl
+	$(INSTALL_PROGRAM) fetchurl.sh $(datadir)/fix/fetchurl
 
 include ../../substitute.mk
 
diff --git a/corepkgs/nar/Makefile.am b/corepkgs/nar/Makefile.am
index 4cb59ae398..f6eb27747e 100644
--- a/corepkgs/nar/Makefile.am
+++ b/corepkgs/nar/Makefile.am
@@ -3,9 +3,9 @@ all-local: nar.sh unnar.sh
 install-exec-local:
 	$(INSTALL) -d $(datadir)/fix/nar
 	$(INSTALL_DATA) nar.fix $(datadir)/fix/nar
-	$(INSTALL_DATA) nar.sh $(datadir)/fix/nar
+	$(INSTALL_PROGRAM) nar.sh $(datadir)/fix/nar
 	$(INSTALL_DATA) unnar.fix $(datadir)/fix/nar
-	$(INSTALL_DATA) unnar.sh $(datadir)/fix/nar
+	$(INSTALL_PROGRAM) unnar.sh $(datadir)/fix/nar
 
 include ../../substitute.mk