Skip to content

Commit 1c3f767

Browse files
authored
Fix bug: cabal-install-artefacts.sh fails if not run from root of wire-server (#2236)
* Fix bug: cabal-install-artefacts.sh depends on being run from PWD * changelog * changelog wording
1 parent 2a185ec commit 1c3f767

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix bug: cabal-install-artefacts.sh fails if not run from root of wire-server

hack/bin/cabal-install-artefacts.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ else
1414
pattern="$1"
1515
fi
1616

17+
cd "$TOP_LEVEL"
18+
1719
cabal-plan list-bins "$pattern:exe:*" |
1820
awk '{print $2}' |
1921
xargs -i sh -c 'test -f {} && echo {} || true' |

0 commit comments

Comments
 (0)