Fixed zip process of pk3 including pk3 directory itself

This commit is contained in:
Timo Smit 2019-01-28 14:32:21 +01:00
parent 251d85ab66
commit e9a4704df1

View file

@ -82,7 +82,9 @@ install_db_mysql() {
install_pk3() {
echo -n 'zipping pk3...';
zip -r -q wolfadmin-$curr_version.pk3 pk3
pushd pk3
zip -r -q ../wolfadmin-$curr_version.pk3 .
popd
echo 'done.'
echo -n 'copying pk3...';
cp wolfadmin-$curr_version.pk3 $fs_basepath/$fs_game