mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-03-31 15:46:33 +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
|
src=$1; shift
|
||||||
dst=$1; shift
|
dst=$1; shift
|
||||||
|
|
||||||
|
ext=${src##*.}
|
||||||
|
|
||||||
c=
|
c=
|
||||||
f=
|
f=
|
||||||
|
|
||||||
@ -63,7 +65,6 @@ case "$tool" in
|
|||||||
esac
|
esac
|
||||||
dir=`mktemp -d "$HOME/.wine/drive_c/compressonator.XXXXXX"`
|
dir=`mktemp -d "$HOME/.wine/drive_c/compressonator.XXXXXX"`
|
||||||
dir_dos="C:/${dir##*/}"
|
dir_dos="C:/${dir##*/}"
|
||||||
ext=${src##*.}
|
|
||||||
cp "$src" "$dir/src.$ext"
|
cp "$src" "$dir/src.$ext"
|
||||||
|
|
||||||
# compressonator and wine suck, so we sometimes have to retry :(
|
# compressonator and wine suck, so we sometimes have to retry :(
|
||||||
|
Loading…
Reference in New Issue
Block a user