Skip to content

Commit 9642562

Browse files
authored
write-nuget-config.sh resolves paths properly (#4193)
# Description of Changes The script was running `cd` but using the STDB path as passed, so if it was run from e.g. the root directory, it would generate incorrect paths. # API and ABI breaking changes None # Expected complexity level and risk 1 # Testing - [x] Running `sdks/csharp/tools~/write-nuget-config.sh .` from the root directory generates a `NuGet.Config` that uses correct paths Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
1 parent aa2f70c commit 9642562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdks/csharp/tools~/write-nuget-config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set -ueo pipefail
22

3-
SPACETIMEDB_REPO_PATH="$1"
3+
SPACETIMEDB_REPO_PATH="$(readlink -f "$1")"
44

55
cd "$(dirname "$(readlink -f "$0")")"
66
cd ..

0 commit comments

Comments
 (0)