build/: Replace -or with -o #133

This commit is contained in:
Manuel Munz 2010-12-11 17:14:13 +00:00
parent 7210e64708
commit 80b5a4b6f8
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ sub dec_tpl_str
} }
if( open F, "find @ARGV -type f '(' -name '*.htm' -or -name '*.lua' ')' |" ) if( open F, "find @ARGV -type f '(' -name '*.htm' -o -name '*.lua' ')' |" )
{ {
while( defined( my $file = readline F ) ) while( defined( my $file = readline F ) )
{ {

View file

@ -23,7 +23,7 @@ luasource:
cp -pR luasrc/* dist$(LUCI_MODULEDIR) 2>/dev/null || true cp -pR luasrc/* dist$(LUCI_MODULEDIR) 2>/dev/null || true
cp -pR lua/* dist$(LUA_MODULEDIR) 2>/dev/null || true cp -pR lua/* dist$(LUA_MODULEDIR) 2>/dev/null || true
cp -pR htdocs/* dist$(HTDOCS) 2>/dev/null || true cp -pR htdocs/* dist$(HTDOCS) 2>/dev/null || true
for i in $$(find dist -name .svn -or -name .gitignore); do rm -rf $$i || true; done for i in $$(find dist -name .svn -o -name .gitignore); do rm -rf $$i || true; done
ifneq ($(PO),) ifneq ($(PO),)
mkdir -p dist$(LUCI_I18NDIR) mkdir -p dist$(LUCI_I18NDIR)
for file in $(PO); do \ for file in $(PO); do \