File tree 4 files changed +24
-22
lines changed
4 files changed +24
-22
lines changed Original file line number Diff line number Diff line change @@ -27,29 +27,31 @@ ShortOpt() {
27
27
last=false
28
28
havearg=false
29
29
for option
30
- do if $last || $ havearg
31
- then Push files " $option "
30
+ do if $havearg
31
+ then Push options " $option "
32
32
havearg=false
33
33
continue
34
34
fi
35
- case $option in
36
- -)
35
+ if ! $last
36
+ then case $option in
37
+ -)
37
38
Push files " $option " ;;
38
- --)
39
- last=:
40
- continue ;;
41
- --lgwin* |--large_window* )
42
- Push options " $option "
43
- skip_calc=:
44
- continue ;;
45
- --* )
46
- Push options " $option "
47
- continue ;;
48
- -* )
49
- ShortOpt " $option "
50
- Push options " $option "
51
- continue ;;
52
- esac
39
+ --)
40
+ last=:
41
+ continue ;;
42
+ --lgwin* |--large_window* )
43
+ Push options " $option "
44
+ skip_calc=:
45
+ continue ;;
46
+ --* )
47
+ Push options " $option "
48
+ continue ;;
49
+ -* )
50
+ ShortOpt " $option "
51
+ Push options " $option "
52
+ continue ;;
53
+ esac
54
+ fi
53
55
Push files " $option "
54
56
done
55
57
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ Dopack() {
335
335
if $tz4now
336
336
then EchoCond " Creating $nameb "
337
337
OptExternal lz4best
338
- " $lz4best " $quietopt " $nameb " " $destname .tar " \
338
+ " $lz4best " $quietopt " $destname .tar " " $nameb " \
339
339
|| Errunp ' lz4' " $nameb "
340
340
fi
341
341
Compare
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ then Push options -$(( $maxlogmemory - 17 ))
88
88
fi
89
89
90
90
Xz () {
91
- FilesizeLog 23
91
+ Filesizelog 23
92
92
if [ x" $file " = x' -' ]
93
93
then " $l " ${1+" $@ " } -$(( $filesizelog - 17 )) e
94
94
else " $l " ${1+" $@ " } -$(( $filesizelog - 17 )) e -- " $file "
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ do stat=0
78
78
fi
79
79
else PushTopack || {
80
80
stat=2
81
- Error $stat " not creating empty archive $archive "
81
+ Error $stat " not creating empty archive $name "
82
82
}
83
83
fi
84
84
[ $stat -eq 0 ] && \
You can’t perform that action at this time.
0 commit comments