Commit c77b5b2a authored by Ludvik Brodl's avatar Ludvik Brodl
Browse files

Abs path for lasfile and laszip instead of unrar

parent 1199425d
......@@ -53,7 +53,7 @@ function cleanUp() {
function extract() {
unrar x $1 >> $log
laszip $1 >> $log
}
......@@ -162,7 +162,7 @@ echo "rarpath: "$1
rarpath=$(abspath $1)
filename=$(basename "$rarpath")
filename="${filename%.*}"
lasfile="$filename"".las"
lasfile=$(dirname "$rarpath")/"${filename}"".las"
outdir=$2/${filename}
echo "result directory: "$outdir
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment