Commit 3e6d0cce by liyapeng

增加赋予文件执行权限

1 parent a9b29f9c
Showing with 2 additions and 0 deletions
......@@ -7,6 +7,7 @@ operation() {
unzip -o adl_log_collect.zip >>/dev/null
echo "[3]Runing Tool..."
cd adl_log_collect
chmod +x log_collect.sh
./log_collect.sh
cd ..
echo "[4]Clearing Env..."
......
......@@ -95,6 +95,7 @@ Bundlinglogfiles() {
uploadlogfile() {
echo "upload log file"
chmod +x coscli
./coscli -e ${ENDPOINT} -i ${TMP_SECRET_ID} -k ${TMP_SECRET_KEY} --token ${TMP_SESSION_TOKEN} cp /tmp/${LOG_DIR}.tar cos://${BUCKET_NAME}/${LOG_DIR}.tar
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!