diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-27 23:31:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-27 23:31:18 +0300 |
commit | b5042022ac2b5f0183e2c53ad9bdebfa409eb212 (patch) | |
tree | a65e528a7ab5bf316d6b36131886e585e4123a7e /build/chroot-server-build.sh | |
parent | da175d26e4999f69283ab3b760e7f4a9b894d355 (diff) | |
download | evol-tools-b5042022ac2b5f0183e2c53ad9bdebfa409eb212.tar.gz evol-tools-b5042022ac2b5f0183e2c53ad9bdebfa409eb212.tar.bz2 evol-tools-b5042022ac2b5f0183e2c53ad9bdebfa409eb212.tar.xz evol-tools-b5042022ac2b5f0183e2c53ad9bdebfa409eb212.zip |
build: fix script. Also add progress messages.
Diffstat (limited to 'build/chroot-server-build.sh')
-rwxr-xr-x | build/chroot-server-build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/chroot-server-build.sh b/build/chroot-server-build.sh index 5704f5f..3cc5c87 100755 --- a/build/chroot-server-build.sh +++ b/build/chroot-server-build.sh @@ -8,14 +8,17 @@ export SRCDIR="$DSTDIR/server-code" export SRCPLUGINSDIR="$SRCDIR/src/evol/build/src/.libs/" export LOCALDIR="../../server-local/bin" +echo Removing old files... rm -rf "$DSTDIR" mkdir "$DSTDIR" +echo Coping files... cp -r ../../server-code "$DSTDIR/server-code" cp -r ../../server-data "$DSTDIR/server-data" cp -r ../../server-local "$DSTDIR/server-local" cp -r ../../tools "$DSTDIR/tools" +echo Enter chroot... schroot -c "$NAME" --directory "$DSTCHDIR/tools/build/" "server-bin.sh" if [[ $? == 0 ]]; then @@ -27,3 +30,4 @@ if [[ $? == 0 ]]; then cp "$SRCDIR/plugins"/*.so "$LOCALDIR/plugins/" cp -f "$SRCPLUGINSDIR"/*.so "$LOCALDIR/plugins/" fi +echo Exit chroot... |