Skip to content

Commit

Permalink
fix clone (#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored Sep 19, 2024
1 parent a2e5297 commit 581fb3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ set -eux

echo "Checkout polkadot-sdk"
pushd ..
if [[ -d ../polkadot-sdk ]] && (cd ../polkadot-sdk && git rev-parse --is-inside-work-tree) 2>&1 >/dev/nu
ls; then
if [[ -d polkadot-sdk ]] && (cd polkadot-sdk && git rev-parse --is-inside-work-tree > /dev/null 2>&1); then
echo "polkadot-sdk already exists"
else
repoURL="${POLKADOT_SDK_REPO:-https://github.com/paritytech/polkadot-sdk.git}"
Expand Down

0 comments on commit 581fb3a

Please sign in to comment.