mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
19 lines
502 B
Bash
19 lines
502 B
Bash
#!/bin/bash
|
|
# Copyright 2024, project-repo and the cagebreak contributors
|
|
# SPDX-License-Identifier: MIT
|
|
# Each example script must contain the header unmodified.
|
|
|
|
# shellcheck disable=2164
|
|
cd "${MESONCURRENTCONFIGDIR}"
|
|
|
|
RESULT=0
|
|
|
|
example_all=$(find example_scripts/)
|
|
example_exec=$(find example_scripts/ -executable)
|
|
[[ $example_all = "$example_exec" ]] || RESULT=1
|
|
|
|
scripts_all=$(find scripts/)
|
|
scripts_exec=$(find scripts/ -executable)
|
|
[[ $scripts_all = "$scripts_exec" ]] || RESULT=1
|
|
|
|
exit $RESULT
|