Browse Source

bug fixes

pull/820/merge
Daniel Gibbs 9 years ago
parent
commit
9c2b9933cd
  1. 6
      lgsm/functions/compress_unreal2_maps.sh
  2. 3
      lgsm/functions/compress_ut99_maps.sh

6
lgsm/functions/compress_unreal2_maps.sh

@ -27,9 +27,9 @@ while true; do
esac
done
mkdir -pv "${compressedmapsdir}" > /dev/null 2>&1
rm -rfv "${filesdir}/Maps/"*.uz2
rm -rfv "${filesdir}/Maps/"*.ut2.uz2
cd "${systemdir}"
for map in "${filesdir}/Maps/*"; do
for map in "${filesdir}/Maps/"*; do
./ucc-bin compress "${map}" --nohomedir
done
mv -fv "${filesdir}/Maps/"*.uz2 "${compressedmapsdir}"
mv -fv "${filesdir}/Maps/"*.ut2.uz2 "${compressedmapsdir}"

3
lgsm/functions/compress_ut99_maps.sh

@ -29,8 +29,7 @@ done
mkdir -pv "${compressedmapsdir}" > /dev/null 2>&1
rm -rfv "${filesdir}/Maps/"*.unr.uz
cd "${systemdir}"
for map in "${filesdir}/Maps/*"; do
for map in "${filesdir}/Maps/"*; do
./ucc-bin compress "${map}" --nohomedir
done
echo "mv -fv ${filesdir}/Maps/*.unr.uz ${compressedmapsdir}"
mv -fv "${filesdir}/Maps/"*.unr.uz "${compressedmapsdir}"

Loading…
Cancel
Save