Browse Source

package/openlayers: do not rely on install -D -t

Use a more standard $(INSTALL) -D solution instead of -D -t, as it
causes some failures in the autobuilders.

Fixes:

  http://autobuild.buildroot.net/results/b473c44ae953dec3e4f88c4e363fb1a84b5e0dc8/

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas Claveirole 5 years ago
parent
commit
1ec8fa1c74
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/openlayers/openlayers.mk

+ 2 - 2
package/openlayers/openlayers.mk

@@ -17,8 +17,8 @@ define OPENLAYERS_EXTRACT_CMDS
 endef
 
 define OPENLAYERS_INSTALL_TARGET_CMDS
-	$(INSTALL) -m 0644 -D -t $(TARGET_DIR)/var/www/ \
-		$(@D)/ol.css $(@D)/ol.js
+	$(INSTALL) -D -m 0644 $(@D)/ol.css $(TARGET_DIR)/var/www/ol.css
+	$(INSTALL) -D -m 0644 $(@D)/ol.js $(TARGET_DIR)/var/www/ol.js
 endef
 
 $(eval $(generic-package))