Skip to content

Commit 86d4611

Browse files
committed
Merge pull request #517 from myyk/master
Fix typo 'scirpt' to be 'script'
2 parents d42e2e2 + 6908b16 commit 86d4611

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/sbt-test/debian/java-app-archetype/build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ debianPackageRecommends in Debian += "git"
1919
TaskKey[Unit]("check-script") <<= (stagingDirectory in Universal, name, streams) map { (dir, name, streams) =>
2020
val script = dir / "bin" / name
2121
System.out.synchronized {
22-
System.err.println("---SCIRPT---")
22+
System.err.println("---SCRIPT---")
2323
val scriptContents = IO.read(script)
2424
System.err.println(scriptContents)
25-
System.err.println("---END SCIRPT---")
25+
System.err.println("---END SCRIPT---")
2626
for(file <- (dir.***).get)
2727
System.err.println("\t"+file)
2828
}

src/sphinx/archetypes/cheatsheet.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ serverLoader is being used.
118118

119119
**Syntax**
120120

121-
You can use ``${{variable_name}}`` to reference variables when writing your scirpt. The default set of variables is:
121+
You can use ``${{variable_name}}`` to reference variables when writing your script. The default set of variables is:
122122

123123
* ``descr`` - The description of the server.
124124
* ``author`` - The configured author name.

src/sphinx/archetypes/java_server/customize.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Create a file ``src/templates/start`` and it will be used instead.
132132

133133
**Syntax**
134134

135-
You can use ``${{variable_name}}`` to reference variables when writing your scirpt. The default set of variables is:
135+
You can use ``${{variable_name}}`` to reference variables when writing your script. The default set of variables is:
136136

137137
* ``descr`` - The description of the server.
138138
* ``author`` - The configured author name.

test-project/build.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ TaskKey[Unit]("check-script") <<= (NativePackagerKeys.stagingDirectory in Univer
3333
(dir, debTarget, name, version, author, streams) =>
3434
val script = dir / "bin" / name
3535
System.out.synchronized {
36-
System.err.println("---SCIRPT---")
36+
System.err.println("---SCRIPT---")
3737
val scriptContents = IO.read(script)
3838
System.err.println(scriptContents)
39-
System.err.println("---END SCIRPT---")
39+
System.err.println("---END SCRIPT---")
4040
for(file <- (dir.***).get)
4141
System.err.println("\t"+file)
4242
}
@@ -54,4 +54,4 @@ TaskKey[Unit]("check-script") <<= (NativePackagerKeys.stagingDirectory in Univer
5454
val prermOutput = Process("bash " + prerm.getAbsolutePath).!!
5555
val prermExpected = "removing ${{name}}-${{version}} from ${{author}}"
5656
assert(prermOutput contains prermExpected, s"Failed to correctly run the prerm script!. Found [${prermOutput}] wanted [${prermExpected}]")
57-
}
57+
}

0 commit comments

Comments
 (0)