distribution/packages/jelos/sources/scripts/getshaders
fewtarius d654b6a396
* Bug fixes - getshaders, wifictl.
* Correct dependencies: moonlight, hypseus-singe.
* Continued work on x86_64.
* Fix raze repo path.
2022-08-30 17:05:35 -04:00

16 lines
381 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2022 Fewtarius (https://github.com/fewtarius)
for dir in /tmp/shaders
do
if [ -d "${dir}" ]
then
find ${dir} -name '*.glsl*' -print0 |
while IFS= read -r -d '' line; do
echo ${line#${dir}/},
done
fi
done