mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 15:36:07 +08:00
修复shell变量自加
This commit is contained in:
parent
0daa171508
commit
806eeae7d2
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
## 目录
|
## 目录
|
||||||
dir_root=/ql
|
dir_root=/ql
|
||||||
dir_shell=$dir_root/shell
|
dir_shell=$dir_root/shell
|
||||||
|
@ -51,7 +53,7 @@ import_config () {
|
||||||
[ -f $file_config_user ] && . $file_config_user
|
[ -f $file_config_user ] && . $file_config_user
|
||||||
user_sum=0
|
user_sum=0
|
||||||
for line in $(cat $file_cookie); do
|
for line in $(cat $file_cookie); do
|
||||||
let user_sum++
|
let user_sum+=1
|
||||||
eval Cookie${user_sum}="\"$line\""
|
eval Cookie${user_sum}="\"$line\""
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user