Wrap zip in pushd/popd
This commit is contained in:
parent
b0a06d472e
commit
260dbcbaa2
1 changed files with 3 additions and 1 deletions
|
@ -19,4 +19,6 @@ rm ${map_file}
|
|||
cp ${script_file} ${map_file}
|
||||
# Package resource pack
|
||||
rm ${SERVER_DIR}/botc-script-resource-pack.zip
|
||||
zip -r ${SERVER_DIR}/botc-script-resource-pack.zip templates/texture-pack
|
||||
pushd "${DIR}/templates"
|
||||
zip -r ${SERVER_DIR}/botc-script-resource-pack.zip texture-pack
|
||||
popd
|
Loading…
Reference in a new issue