mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Remove unused support for reading spell check files from pipe input
This is breaking the github workflow, and isn't used anywhere
This commit is contained in:
parent
6209228ddd
commit
3108241be9
@ -62,23 +62,14 @@ done
|
||||
shift $((OPTIND - 1))
|
||||
|
||||
# check if file list is provided
|
||||
# * from a pipe or from a file
|
||||
# * from ALL_CHANGED_FILES env var
|
||||
# * from command line parameters
|
||||
if [ -p /dev/stdin ] || [ ! -t 0 ]; then
|
||||
# read from pipe input or file
|
||||
read SCRIPT_INPUT
|
||||
if [ -z "$SCRIPT_INPUT" ]; then
|
||||
exit 0
|
||||
fi
|
||||
if [ -z "$ALL_CHANGED_FILES" ]; then
|
||||
# read from command line parameters
|
||||
SCRIPT_INPUT="$@"
|
||||
else
|
||||
if [ -z "$ALL_CHANGED_FILES" ]; then
|
||||
# read from command line parameters
|
||||
SCRIPT_INPUT="$@"
|
||||
else
|
||||
# read from env var
|
||||
SCRIPT_INPUT="$ALL_CHANGED_FILES"
|
||||
fi
|
||||
# read from env var
|
||||
SCRIPT_INPUT="$ALL_CHANGED_FILES"
|
||||
fi
|
||||
|
||||
if [ -n "$SCRIPT_INPUT" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user