mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-03-25 04:16:42 +00:00
fix a bug in the compressor script
This commit is contained in:
parent
a780c8749a
commit
c9b451c5bc
@ -10,6 +10,8 @@ format=$1; shift
|
||||
src=$1; shift
|
||||
dst=$1; shift
|
||||
|
||||
ext=${src##*.}
|
||||
|
||||
c=
|
||||
f=
|
||||
|
||||
@ -63,7 +65,6 @@ case "$tool" in
|
||||
esac
|
||||
dir=`mktemp -d "$HOME/.wine/drive_c/compressonator.XXXXXX"`
|
||||
dir_dos="C:/${dir##*/}"
|
||||
ext=${src##*.}
|
||||
cp "$src" "$dir/src.$ext"
|
||||
|
||||
# compressonator and wine suck, so we sometimes have to retry :(
|
||||
|
Loading…
Reference in New Issue
Block a user