Rebrand project as Forkop
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -eo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
PODKOP_LIB="$ROOT_DIR/podkop/files/usr/lib"
|
||||
FORKOP_LIB="$ROOT_DIR/forkop/files/usr/lib"
|
||||
WORK_DIR="$(mktemp -d)"
|
||||
|
||||
cleanup() {
|
||||
@@ -69,7 +69,7 @@ JSON
|
||||
|
||||
output="$WORK_DIR/config.json"
|
||||
mkdir -p "$output.section-cache"
|
||||
ucode -L "$PODKOP_LIB" "$PODKOP_LIB/singbox/generator.uc" generate-config-fixture \
|
||||
ucode -L "$FORKOP_LIB" "$FORKOP_LIB/singbox/generator.uc" generate-config-fixture \
|
||||
"$WORK_DIR/fixture.json" "$output" "127.0.0.1"
|
||||
|
||||
urltest_count="$(ucode -e '
|
||||
@@ -148,7 +148,7 @@ JSON
|
||||
|
||||
multi_output="$WORK_DIR/multi-config.json"
|
||||
mkdir -p "$multi_output.section-cache"
|
||||
ucode -L "$PODKOP_LIB" "$PODKOP_LIB/singbox/generator.uc" generate-config-fixture \
|
||||
ucode -L "$FORKOP_LIB" "$FORKOP_LIB/singbox/generator.uc" generate-config-fixture \
|
||||
"$WORK_DIR/multi-fixture.json" "$multi_output" "127.0.0.1"
|
||||
|
||||
ucode -e '
|
||||
@@ -222,7 +222,7 @@ JSON
|
||||
|
||||
hide_added_output="$WORK_DIR/hide-added-config.json"
|
||||
mkdir -p "$hide_added_output.section-cache"
|
||||
ucode -L "$PODKOP_LIB" "$PODKOP_LIB/singbox/generator.uc" generate-config-fixture \
|
||||
ucode -L "$FORKOP_LIB" "$FORKOP_LIB/singbox/generator.uc" generate-config-fixture \
|
||||
"$WORK_DIR/hide-added-fixture.json" "$hide_added_output" "127.0.0.1"
|
||||
|
||||
ucode -e '
|
||||
|
||||
Reference in New Issue
Block a user