mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -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
|