about 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 44e07280fea1..72741ac23f0f 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 4cb59ae398e1..f6eb27747e8b 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