[commit: ghc] wip/nfs-locking: fix typos in build.*.sh (4aa3bb6)
git at git.haskell.org
git at git.haskell.org
Thu Oct 26 23:56:18 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/4aa3bb622b08d7f7b2fe0b45c32c4127f5ca972a/ghc
>---------------------------------------------------------------
commit 4aa3bb622b08d7f7b2fe0b45c32c4127f5ca972a
Author: Joe Hillenbrand <joehillen at gmail.com>
Date: Fri Jan 22 16:24:41 2016 -0800
fix typos in build.*.sh
>---------------------------------------------------------------
4aa3bb622b08d7f7b2fe0b45c32c4127f5ca972a
build.cabal.sh | 6 +++---
build.stack.sh | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/build.cabal.sh b/build.cabal.sh
index 8add516..5f20c1b 100755
--- a/build.cabal.sh
+++ b/build.cabal.sh
@@ -28,8 +28,8 @@ function rl {
echo "$RESULT"
}
-absoltueRoot="$(dirname "$(rl "$0")")"
-cd "$absoltueRoot"
+absoluteRoot="$(dirname "$(rl "$0")")"
+cd "$absoluteRoot"
# Initialize sandbox if necessary
if ! ( cabal sandbox hc-pkg list 2>&1 > /dev/null ); then
@@ -42,6 +42,6 @@ fi
cabal run ghc-shake -- \
--lint \
- --directory "$absoltueRoot/.." \
+ --directory "$absoluteRoot/.." \
--colour \
"$@"
diff --git a/build.stack.sh b/build.stack.sh
index 1cc968b..578e7eb 100755
--- a/build.stack.sh
+++ b/build.stack.sh
@@ -28,13 +28,13 @@ function rl {
echo "$RESULT"
}
-absoltueRoot="$(dirname "$(rl "$0")")"
-cd "$absoltueRoot"
+absoluteRoot="$(dirname "$(rl "$0")")"
+cd "$absoluteRoot"
stack build --no-library-profiling
stack exec ghc-shake -- \
--lint \
- --directory "$absoltueRoot/.." \
+ --directory "$absoluteRoot/.." \
--colour \
"$@"
More information about the ghc-commits
mailing list