wwan: rename data files

This is to ensure that git can be cloned onto a windows drive without failing.

Signed-off-by: Simon Hailes <btsimonh@googlemail.com>
owl
Simon Hailes 2016-10-11 20:30:15 +01:00 committed by John Crispin
parent a2361eebfd
commit 86c6b07e15
348 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,16 @@ define Package/wwan/install
$(INSTALL_BIN) ./files/wwan.usbmisc $(1)/etc/hotplug.d/usbmisc/00_wwan.sh $(INSTALL_BIN) ./files/wwan.usbmisc $(1)/etc/hotplug.d/usbmisc/00_wwan.sh
$(INSTALL_DIR) $(1)/lib/network/wwan/ $(INSTALL_DIR) $(1)/lib/network/wwan/
$(INSTALL_DATA) ./files/data/* $(1)/lib/network/wwan/ $(INSTALL_DATA) ./files/data/* $(1)/lib/network/wwan/
#in order to keep the Lede GIT repo free of filenames with colons,
#we name the files xxxx-yyyy
# and rename here after copying to the build directory
shopt -s nullglob ; \
for filevar in $(1)/lib/network/wwan/*-* ; \
do \
FILENAME=$$$$(basename $$$$filevar) ; \
NEWNAME=$$$${FILENAME//-/:} ; \
mv "$(1)/lib/network/wwan/$$$$FILENAME" "$(1)/lib/network/wwan/$$$$NEWNAME" ; \
done
endef endef
$(eval $(call BuildPackage,wwan)) $(eval $(call BuildPackage,wwan))

Some files were not shown because too many files have changed in this diff Show More