Skip to content

Commit

Permalink
Trying to fix script path so it works in automation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gray Watson committed Oct 20, 2020
1 parent 2f63b43 commit 44c1e6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions gzip_magic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
# Script called by ant from mvn to compress our magic file into place
#

echo "Generating compressed magic file: $2"

set -x
gzip -9 -c $1 > $2
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,10 @@
<target>
<!-- couldn't use the gzip plugin because no level and couldn't call gzip directly because the output linefeeds were
corrupting the gzip stream. -->
<exec executable="gzip_magic.sh">
<arg value="src/test/resources/magic" />
<arg value="target/classes/magic.gz" />
<exec executable="sh">
<arg value="${project.basedir}/gzip_magic.sh" />
<arg value="${project.basedir}/src/test/resources/magic" />
<arg value="${project.build.outputDirectory}/magic.gz" />
</exec>
</target>
</configuration>
Expand Down

0 comments on commit 44c1e6f

Please sign in to comment.