1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh if [ $(basename $PWD) = "scripts" ]; then cd .. fi cd app ./make.sh cd - cp -rf files/* app/release/ cd app/release/ ../../scripts/mk-app.sh cd -