mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
21 lines
462 B
Bash
Executable file
21 lines
462 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# Execute every clean.sh scripts in every folder.
|
|
echo "Running for platforms '$@'."
|
|
for directory in */ ; do
|
|
platform=`basename "${directory}"`
|
|
if [[ $@ == *"$platform"* || $@ = *"all"* ]]; then
|
|
echo "Processing ${platform}"
|
|
pushd "$platform"
|
|
if [ -f clean.sh ]; then
|
|
echo ./clean.sh
|
|
fi
|
|
popd
|
|
else
|
|
echo "Skipping $platform."
|
|
fi
|
|
done
|
|
|
|
rm -rf ./collect-dist
|