comparison samifier.sh @ 33:103c8249dbe6

Uploaded
author da-intersect
date Tue, 30 Apr 2013 00:28:02 -0400
parents b04c42cb2d31
children
comparison
equal deleted inserted replaced
32:4698baa1c5ec 33:103c8249dbe6
28 tmp_dir="/tmp/$(basename "$tar_file")" 28 tmp_dir="/tmp/$(basename "$tar_file")"
29 mkdir -p $tmp_dir 29 mkdir -p $tmp_dir
30 tar -C $tmp_dir -xvf $tar_file 30 tar -C $tmp_dir -xvf $tar_file
31 31
32 # Run the jar and remove the temporary directory 32 # Run the jar and remove the temporary directory
33 java -jar $jar_path $@ -c "$tmp_dir" 33 java -Xmx3072M -jar $jar_path $@ -c "$tmp_dir"
34 rm -rf $tmp_dir 34 rm -rf $tmp_dir