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:
parent
4e3bba0c3f
commit
e9fec5e3fe
2
.github/checks/lastline.sh
vendored
2
.github/checks/lastline.sh
vendored
@ -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='
|
||||||
|
2
.github/checks/spaces.sh
vendored
2
.github/checks/spaces.sh
vendored
@ -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/"`
|
||||||
|
2
.github/checks/tabs.sh
vendored
2
.github/checks/tabs.sh
vendored
@ -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/"`
|
||||||
|
Loading…
Reference in New Issue
Block a user