provisioning/o-klab/sgoyol/bin/sync_resources
2025-09-22 23:11:41 +01:00

9 lines
346 B
Bash
Executable File

#!/bin/bash
RUN_PATH=$(dirname "$(dirname "$0")")
if [ -d "$RUN_PATH/resources/etcdcerts" ] ; then
rm -rf "$RUN_PATH/../wuji/resources/etcdcerts"
if cp -pr "$RUN_PATH/resources/etcdcerts" "$RUN_PATH/../wuji/resources/etcdcerts" ; then
echo "$RUN_PATH/resources/etcdcerts copied in $RUN_PATH/../wuji/resources/etcdcerts"
fi
fi