1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

define CHECK_PATH rather than leaving it open

This commit is contained in:
mrdudz 2022-04-17 17:12:52 +02:00
parent 4e3bba0c3f
commit e9fec5e3fe
3 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#! /bin/bash #! /bin/bash
OLDCWD=`pwd` OLDCWD=`pwd`
SCRIPT_PATH=`dirname $0` SCRIPT_PATH=`dirname $0`
CHECK_PATH=.
cd $SCRIPT_PATH/../../ cd $SCRIPT_PATH/../../
nl=' nl='

View File

@ -1,6 +1,8 @@
#! /bin/bash #! /bin/bash
OLDCWD=`pwd` OLDCWD=`pwd`
SCRIPT_PATH=`dirname $0` SCRIPT_PATH=`dirname $0`
CHECK_PATH=.
cd $SCRIPT_PATH/../../ cd $SCRIPT_PATH/../../
FILES=`find $CHECK_PATH -type f \( \( -name \*.inc -a \! -name Makefile.inc \) -o -name \*.cfg -o -name \*.c -o -name \*.s -o -name \*.h -o -name \*.asm -o -name \*.sgml \) -print | xargs grep -l ' $' | grep -v "libwrk/" | grep -v "testwrk/"` FILES=`find $CHECK_PATH -type f \( \( -name \*.inc -a \! -name Makefile.inc \) -o -name \*.cfg -o -name \*.c -o -name \*.s -o -name \*.h -o -name \*.asm -o -name \*.sgml \) -print | xargs grep -l ' $' | grep -v "libwrk/" | grep -v "testwrk/"`

View File

@ -1,6 +1,8 @@
#! /bin/bash #! /bin/bash
OLDCWD=`pwd` OLDCWD=`pwd`
SCRIPT_PATH=`dirname $0` SCRIPT_PATH=`dirname $0`
CHECK_PATH=.
cd $SCRIPT_PATH/../../ cd $SCRIPT_PATH/../../
FILES=`find $CHECK_PATH -type f \( \( -name \*.inc -a \! -name Makefile.inc \) -o -name \*.cfg -o -name \*.c -o -name \*.s -o -name \*.h -o -name \*.asm -o -name \*.sgml \) -print | xargs grep -l $'\t' | grep -v "libwrk/" | grep -v "testwrk/"` FILES=`find $CHECK_PATH -type f \( \( -name \*.inc -a \! -name Makefile.inc \) -o -name \*.cfg -o -name \*.c -o -name \*.s -o -name \*.h -o -name \*.asm -o -name \*.sgml \) -print | xargs grep -l $'\t' | grep -v "libwrk/" | grep -v "testwrk/"`