Skip to content

Commit

Permalink
pypi_shadowmire: fix repo path
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
  • Loading branch information
Harry-Chen committed Aug 8, 2024
1 parent 7ba70f5 commit b94fc10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pypi_shadowmire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ CONF="/tmp/shadowmire.conf"
INIT=${INIT:-"0"}
SHADOWMIRE_UPSTREAM=${SHADOWMIRE_UPSTREAM:-"0"}

if [ ! -d "$TUNASYNC_WORKING_DIR" ]; then
mkdir -p $TUNASYNC_WORKING_DIR
export REPO="${TUNASYNC_WORKING_DIR}/web"

if [ ! -d "$REPO" ]; then
mkdir -p "$REPO"
INIT="1"
fi

export REPO="${TUNASYNC_WORKING_DIR}"

echo "Syncing to $TUNASYNC_WORKING_DIR"
echo "Syncing to $REPO"

DOWNLOAD_MIRROR=""
if [[ $TUNASYNC_UPSTREAM != $PYPI_MASTER ]]; then
Expand Down

0 comments on commit b94fc10

Please sign in to comment.