| Linux olympus.webworksafrica.pro 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64 Path : /proc/thread-self/root/usr/bin/ |
| Current File : //proc/thread-self/root/usr/bin/scl_enabled |
#!/bin/sh
eval "SCLS=(${X_SCLS[*]})"
[ -z "$SCLS" ] && exit 1
[ -z "$*" ] && exit 0
for scl in $*; do
FOUND=0
for i in `seq 0 ${#SCLS[@]}`; do
if [ "${SCLS[$i]}" == "$scl" ]; then
FOUND=1;
break;
fi;
done
[ $FOUND == 0 ] && exit 1;
done
exit 0