11 lines
352 B
Bash
11 lines
352 B
Bash
|
|
#!/bin/sh
|
||
|
|
dir="$(dirname $1)"
|
||
|
|
cd "$dir"
|
||
|
|
echo "[package_lovr_zip.sh] zipping lovr.zip"
|
||
|
|
|
||
|
|
# overwrite empty lovr template project-zip with given URL
|
||
|
|
test -n "$LOVR_TEMPLATE_ZIP" && timeout 50 wget "$LOVR_TEMPLATE_ZIP" -O ~/templates/template_lovr.zip
|
||
|
|
|
||
|
|
cp ~/templates/template_lovr.zip .xrforge/lovr.zip
|
||
|
|
zip .xrforge/lovr.zip $(find . -maxdepth 1 -type f)
|