diff --git a/src/main/resources/com/typesafe/sbt/packager/archetypes/bash-template b/src/main/resources/com/typesafe/sbt/packager/archetypes/bash-template index 00da9807c..7b5aa4aaa 100644 --- a/src/main/resources/com/typesafe/sbt/packager/archetypes/bash-template +++ b/src/main/resources/com/typesafe/sbt/packager/archetypes/bash-template @@ -268,7 +268,7 @@ run() { mainclass="$app_mainclass" fi - # Now we check to see if there are any java opts on the environemnt. These get listed first, with the script able to override them. + # Now we check to see if there are any java opts on the environment. These get listed first, with the script able to override them. if [[ "$JAVA_OPTS" != "" ]]; then java_opts="${JAVA_OPTS}" fi diff --git a/src/main/scala/com/typesafe/sbt/packager/windows/WindowsPlugin.scala b/src/main/scala/com/typesafe/sbt/packager/windows/WindowsPlugin.scala index a38dbb392..b18709552 100644 --- a/src/main/scala/com/typesafe/sbt/packager/windows/WindowsPlugin.scala +++ b/src/main/scala/com/typesafe/sbt/packager/windows/WindowsPlugin.scala @@ -76,7 +76,7 @@ trait WindowsPlugin extends Plugin { if (f.getAbsolutePath != wix.getAbsolutePath) IO.copyFile(f, wix) IO.copy(for ((f, to) <- m) yield (f, t / to)) // Now compile WIX - val wixdir = Option(System.getenv("WIX")) getOrElse sys.error("WIX environemnt not found. Please ensure WIX is installed on this computer.") + val wixdir = Option(System.getenv("WIX")) getOrElse sys.error("WIX environment not found. Please ensure WIX is installed on this computer.") val candleCmd = Seq(wixdir + "\\bin\\candle.exe", wix.getAbsolutePath) ++ co s.log.debug(candleCmd mkString " ") Process(candleCmd, Some(t)) ! s.log match {