mirror of
https://github.com/cc65/cc65.git
synced 2026-01-26 13:16:42 +00:00
Add an explicit "exit 0" to the shell scripts. This worked more or less by
coincidence before since shell scripts return the exit code of the last command run if there is no explicit exit statement.
This commit is contained in:
1
.github/checks/lastline.sh
vendored
1
.github/checks/lastline.sh
vendored
@@ -23,3 +23,4 @@ if [ x"$FILES"x != xx ]; then
|
||||
done
|
||||
exit -1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
1
.github/checks/lineendings.sh
vendored
1
.github/checks/lineendings.sh
vendored
@@ -16,3 +16,4 @@ if [ x"$FILES"x != xx ]; then
|
||||
done
|
||||
exit -1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
1
.github/checks/noexec.sh
vendored
1
.github/checks/noexec.sh
vendored
@@ -16,3 +16,4 @@ if [ x"$FILES"x != xx ]; then
|
||||
done
|
||||
exit -1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
1
.github/checks/sorted.sh
vendored
1
.github/checks/sorted.sh
vendored
@@ -36,3 +36,4 @@ function checkarray_quoted_name
|
||||
for N in `grep -rl "BEGIN SORTED.SH" "$CHECK_DIR"`; do
|
||||
checkarray_quoted_name $N
|
||||
done
|
||||
exit 0
|
||||
|
||||
1
.github/checks/sorted_codeopt.sh
vendored
1
.github/checks/sorted_codeopt.sh
vendored
@@ -66,3 +66,4 @@ function checkarray
|
||||
find "$CHECK_DIR" -name \*.\[ch\] -print | while read N; do
|
||||
grep -q "BEGIN DECL SORTED_CODEOPT.SH" "$N" && checkarray $N
|
||||
done
|
||||
exit 0
|
||||
|
||||
2
.github/checks/sorted_opcodes.sh
vendored
2
.github/checks/sorted_opcodes.sh
vendored
@@ -37,4 +37,4 @@ function checkarray_quoted_name
|
||||
for N in `grep -rl "BEGIN SORTED_OPCODES.SH" "$CHECK_DIR"`; do
|
||||
checkarray_quoted_name $N
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
||||
1
.github/checks/spaces.sh
vendored
1
.github/checks/spaces.sh
vendored
@@ -16,3 +16,4 @@ if [ x"$FILES"x != xx ]; then
|
||||
done
|
||||
exit -1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
1
.github/checks/tabs.sh
vendored
1
.github/checks/tabs.sh
vendored
@@ -16,3 +16,4 @@ if [ x"$FILES"x != xx ]; then
|
||||
done
|
||||
exit -1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user