Skip to content

Commit

Permalink
Merge pull request #26 from coltc50/master
Browse files Browse the repository at this point in the history
workdir fix
  • Loading branch information
BrettSheleski authored Sep 18, 2018
2 parents d52aa36 + 2023a19 commit 4e70309
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions comcut
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,19 @@ if [[ ! -z "$workdir" ]]; then
workdir="$workdir/"
;;
esac
fi

infileb=`basename "$infile"`
edlfile="$workdir${infileb%.*}.edl"
metafile="$workdir${infileb%.*}.ffmeta"
logfile="$workdir${infileb%.*}.log"
logofile="$workdir${infileb%.*}.logo.txt"
txtfile="$workdir${infileb%.*}.txt"
else
edlfile="$workdir${infile%.*}.edl"
metafile="$workdir${infile%.*}.ffmeta"
logfile="$workdir${infile%.*}.log"
logofile="$workdir${infile%.*}.logo.txt"
txtfile="$workdir${infile%.*}.txt"

fi


if [ ! -f "$edlfile" ]; then
Expand Down

0 comments on commit 4e70309

Please sign in to comment.