Files
azerothcore-wotlk-pbot/bin/acore-docker-remove-build-cache

15 lines
420 B
Bash
Executable File

#!/usr/bin/env bash
if [ "$(id -u)" != "0" ] && [ "$OSTYPE" != "msys" ] ; then
echo "Please run the script with sudo"
else
rm -rf ./docker/build/cache/CMakeFiles
rm -rf ./docker/build/cache/deps
rm -rf ./docker/build/cache/src
rm ./docker/build/cache/*.cmake
rm ./docker/build/cache/*.txt
rm ./docker/build/cache/*.h
rm ./docker/build/cache/*.cpp
rm ./docker/build/cache/Makefile
fi