mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 00:16:06 +08:00
外部依赖改为系统直接分发通知文件js和py版
This commit is contained in:
parent
1c4c1799b0
commit
31cd7c4007
|
@ -392,14 +392,16 @@ gen_list_repo() {
|
||||||
files=$(echo "$files" | egrep -v $blackword)
|
files=$(echo "$files" | egrep -v $blackword)
|
||||||
fi
|
fi
|
||||||
if [[ $dependence ]]; then
|
if [[ $dependence ]]; then
|
||||||
cd ${dir_scripts}
|
# cd ${dir_scripts}
|
||||||
depInScripts=$(eval $cmd | sed 's/^..//' | egrep -v $uniq_path | egrep $dependence)
|
# depInScripts=$(eval $cmd | sed 's/^..//' | egrep -v $uniq_path | egrep $dependence)
|
||||||
for dep in ${depInScripts}; do
|
# for dep in ${depInScripts}; do
|
||||||
file_path=$(dirname $dep)
|
# file_path=$(dirname $dep)
|
||||||
[[ ! $file_path =~ "/" ]] && file_path=""
|
# [[ ! $file_path =~ "/" ]] && file_path=""
|
||||||
make_dir "${dir_scripts}/${uniq_path}/${file_path#*/}"
|
# make_dir "${dir_scripts}/${uniq_path}/${file_path#*/}"
|
||||||
cp -f $dep "${dir_scripts}/${uniq_path}/${file_path#*/}"
|
# cp -f $dep "${dir_scripts}/${uniq_path}/${file_path#*/}"
|
||||||
done
|
# done
|
||||||
|
cp -f $file_notify_js "${dir_scripts}/${uniq_path}"
|
||||||
|
cp -f $file_notify_py "${dir_scripts}/${uniq_path}"
|
||||||
|
|
||||||
cd ${repo_path}
|
cd ${repo_path}
|
||||||
results=$(eval $cmd | sed 's/^..//' | egrep $dependence)
|
results=$(eval $cmd | sed 's/^..//' | egrep $dependence)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user