Skip to content

Commit

Permalink
Fix code for selecting tar
Browse files Browse the repository at this point in the history
  • Loading branch information
bocchino committed Oct 30, 2022
1 parent b0da09a commit 597c2d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/lib/src/main/scala/util/Version.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package fpp.compiler.util
/** The compiler version */
object Version {

val v = "[unknown version]"
val v = "v1.1.0a4-2-gb0da09a4"

}
5 changes: 3 additions & 2 deletions compiler/release
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ meta_inf_dir="lib/src/main/resources/META-INF/native-image"
release_tgz="$native_bin.tar.gz"
# Use gtar if it's available
# The default tar has issues on Mac OS on GitHub
tar=`which gtar`
if test -z "$tar"
if which gtar
then
tar=`which gtar`
else
tar=tar
fi

Expand Down

0 comments on commit 597c2d1

Please sign in to comment.