Commits

Miki Tebeka committed 40e0370

Add version to jar name

  • Participants
  • Parent commits ca202b0

Comments (0)

Files changed (1)

 #!/usr/bin/env perl
 # Standalone script with embedded jar
 
-# Jar file, we use the user name to avoid collision with other users
-$jar = "/tmp/lp-$ENV{USER}.jar";
+# Jar file, we use the user name to avoid collision with other users and version
+# to make upgrading possible
+$verison = "3.1.4";
+$jar = "/tmp/lp-$ENV{USER}-$version.jar";
 
 # Extract jar if not there
 unless (-e $jar) {
 exec "java", "-jar", $jar, @ARGV
 
 __DATA__
-YOUR BASE64 ENCODED DATA GOES HERE
+YOUR BASE64 ENCODED JAR GOES HERE