mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-03-21 15:41:22 +00:00
LDoc: fix message in gendoc.sh script
This commit is contained in:
parent
da24ace035
commit
93767a2723
1 changed files with 3 additions and 2 deletions
|
@ -34,8 +34,9 @@ echo -e "\ncopying textures ..."
|
||||||
mkdir -p "${d_data}"
|
mkdir -p "${d_data}"
|
||||||
texture_count=0
|
texture_count=0
|
||||||
for png in $(find "${d_root}/textures" -maxdepth 1 -type f -name "*.png"); do
|
for png in $(find "${d_root}/textures" -maxdepth 1 -type f -name "*.png"); do
|
||||||
if test -f "${d_data}/$(basename ${png})"; then
|
t_png="${d_data}/$(basename ${png})"
|
||||||
echo "WARNING: not overwriting existing file: ${png}"
|
if test -f "${t_png}"; then
|
||||||
|
echo "WARNING: not overwriting existing file: ${t_png}"
|
||||||
else
|
else
|
||||||
cp "${png}" "${d_data}"
|
cp "${png}" "${d_data}"
|
||||||
texture_count=$((texture_count + 1))
|
texture_count=$((texture_count + 1))
|
||||||
|
|
Loading…
Add table
Reference in a new issue