mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-10-24 11:49:20 +00:00
~拆分command.env文件,防止偶然情况下出现找不到运行目录的bug
This commit is contained in:
@@ -123,7 +123,7 @@ userguide() {
|
||||
read -r -p "$COMMON_INPUT_R" res
|
||||
[ "$res" = 1 ] && {
|
||||
BINDIR=/tmp/ShellCrash
|
||||
sed -i "s#BINDIR=.*#BINDIR=$BINDIR#" "$CRASHDIR"/configs/command.env
|
||||
sed -i "s#BINDIR=.*#BINDIR=$BINDIR#" "$CRASHDIR"/configs/directories.env
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user