check this
This commit is contained in:
parent
64357a7787
commit
3256396f5e
|
|
@ -35,7 +35,7 @@ function check {
|
||||||
pushd "${WHERE}"
|
pushd "${WHERE}"
|
||||||
|
|
||||||
for file in *; do
|
for file in *; do
|
||||||
found=0
|
local found=0
|
||||||
[ "$file" != "README.md" ] || continue
|
[ "$file" != "README.md" ] || continue
|
||||||
|
|
||||||
isChanged "$file"
|
isChanged "$file"
|
||||||
|
|
@ -72,7 +72,7 @@ function check2 {
|
||||||
popd >> /dev/null
|
popd >> /dev/null
|
||||||
|
|
||||||
for i in ${!DASHMAP[@]}; do
|
for i in ${!DASHMAP[@]}; do
|
||||||
found=0
|
local found=0
|
||||||
|
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
if [ "${DASHMAP[$i]}" = "$file" ]; then
|
if [ "${DASHMAP[$i]}" = "$file" ]; then
|
||||||
|
|
@ -92,6 +92,7 @@ function check2 {
|
||||||
function isChanged {
|
function isChanged {
|
||||||
local changed=false
|
local changed=false
|
||||||
local filename=$1
|
local filename=$1
|
||||||
|
local file=""
|
||||||
|
|
||||||
for file in $CHANGES; do
|
for file in $CHANGES; do
|
||||||
if [ "$file" = "$filename" ]; then
|
if [ "$file" = "$filename" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue