fix typos in build.*.sh
authorJoe Hillenbrand <joehillen@gmail.com>
Sat, 23 Jan 2016 00:24:41 +0000 (16:24 -0800)
committerJoe Hillenbrand <joehillen@gmail.com>
Sat, 23 Jan 2016 00:24:41 +0000 (16:24 -0800)
build.cabal.sh
build.stack.sh

index 8add516..5f20c1b 100755 (executable)
@@ -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                       \
     "$@"
index 1cc968b..578e7eb 100755 (executable)
@@ -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                       \
     "$@"