Skip to content

Commit 055a6d2

Browse files
author
Chris Wiechmann
committed
[skip ci] #42 - Fixing issues with apim.sh Line-Ending and Posix
1 parent 396f506 commit 055a6d2

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

distribution/assembly/dist-release.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</includes>
3535
<excludes>
3636
<exclude>*.formatted</exclude>
37+
<exclude>scripts/*</exclude>
3738
</excludes>
3839
</fileSet>
3940
<fileSet>

distribution/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<plugins>
3939
<plugin>
4040
<artifactId>maven-assembly-plugin</artifactId>
41-
<version>3.2.0</version>
41+
<version>3.3.0</version>
4242
<executions>
4343
<execution>
4444
<id>distribution</id>

modules/apim-cli/assembly/scripts/apim.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if [ -n "$JAVA_HOME" ] && [ -x "$JAVA_HOME/bin/java" ]
44
then
55
#### echo "Using java given in JAVA_HOME"
66
_java=$JAVA_HOME/bin/java
7-
elif type -p java
7+
elif command -v java
88
then
99
#### echo "Using java found in the PATH"
1010
_java=java

0 commit comments

Comments
 (0)