mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
6386c55cee
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
27 lines
384 B
Bash
Executable file
27 lines
384 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ $# -eq 0 ]
|
|
then
|
|
for i in $DEPLOY_DST
|
|
do
|
|
rsync -r -v --exclude '*.a' $NDB_TOP/bin $NDB_TOP/lib $i/
|
|
done
|
|
else
|
|
while [ $# -gt 0 ]
|
|
do
|
|
arg=$1
|
|
shift;
|
|
if [ `echo $arg | grep -c lib` -eq 0 ]
|
|
then
|
|
dst=bin/
|
|
else
|
|
dst=lib/
|
|
fi
|
|
|
|
for i in $DEPLOY_DST
|
|
do
|
|
rsync -v $arg $i/$dst
|
|
done
|
|
done
|
|
fi
|
|
|