distribution/packages/jelos/sources/scripts/getshaders
2022-02-05 09:23:32 -05:00

10 lines
312 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)
find /tmp/shaders -name '*.glslp' -print0 |
while IFS= read -r -d '' line; do
echo ${line#/tmp/shaders/},
done