mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-24 07:01:11 -05:00
8 lines
121 B
Bash
Executable file
8 lines
121 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
if ! [[ -x "$1" ]]; then
|
|
echo "Error: File:[$1] is not executable"
|
|
exit 1
|
|
fi
|