Skip to content
Snippets Groups Projects
Commit 6266c4a0 authored by rubo77's avatar rubo77
Browse files

delete all comments during build in makefile

parent e2b04ae6
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ endef ...@@ -35,6 +35,7 @@ endef
define Package/gluon-ssid-changer/install define Package/gluon-ssid-changer/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/
./gluonShellDiet.sh $(1)/lib/gluon/ssid-changer/ssid-changer.sh
endef endef
$(eval $(call BuildPackage,gluon-ssid-changer)) $(eval $(call BuildPackage,gluon-ssid-changer))
#!/bin/sh
# This script requires a file as argument in which it will remove all comment lines that start with a hash '#'
sed -i '/^\s*\#[^!].*/d; /^\s*\#$/d' $1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment