This repository was archived by the owner on Feb 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 32
32
33
33
# *** file scope functions **********************************************
34
34
35
- XORRISO=$( command -v xorriso > /dev/null 2>&1 )
35
+ XORRISO=$( command -v xorriso 2 > /dev/null)
36
36
37
37
# This snippet is used to undo xorriso's Text_shellsafe(). Pseudocode for the
38
38
# function:
@@ -143,7 +143,7 @@ xorriso_rm() {
143
143
144
144
# tested to comply with isoinfo 2.0's output
145
145
test_iso () {
146
- ISOINFO=$( command -v isoinfo > /dev/null 2>&1 )
146
+ ISOINFO=$( command -v isoinfo 2 > /dev/null)
147
147
if test -z " $ISOINFO " ; then
148
148
echo " isoinfo not found" >&2
149
149
return 1
Original file line number Diff line number Diff line change 17
17
# You should have received a copy of the GNU General Public License
18
18
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
20
- P7ZIP=` command -v 7z > /dev/null 2>&1 ` \
21
- || P7ZIP=` command -v 7zz > /dev/null 2>&1 ` \
22
- || P7ZIP=` command -v 7za > /dev/null 2>&1 ` \
23
- || P7ZIP=` command -v 7zr > /dev/null 2>&1 ` \
20
+ P7ZIP=` command -v 7z 2 > /dev/null` \
21
+ || P7ZIP=` command -v 7zz 2 > /dev/null` \
22
+ || P7ZIP=` command -v 7za 2 > /dev/null` \
23
+ || P7ZIP=` command -v 7zr 2 > /dev/null` \
24
24
|| P7ZIP=" "
25
25
26
26
# Let the test framework hook in:
Original file line number Diff line number Diff line change 16
16
RAR=rar
17
17
18
18
# Prefer unrar (freeware).
19
- UNRAR=` command -v unrar > /dev/null 2>&1 `
19
+ UNRAR=` command -v unrar 2 > /dev/null`
20
20
21
21
[ -z $UNRAR ] && UNRAR=$RAR
22
22
[ ! -x $UNRAR -a -x $RAR ] && UNRAR=$RAR
Original file line number Diff line number Diff line change 11
11
# apt install wimtools
12
12
13
13
command -v wimlib-imagex > /dev/null 2>&1 || exit 1
14
- WIM=` command -v wimlib-imagex > /dev/null 2>&1 `
14
+ WIM=` command -v wimlib-imagex 2 > /dev/null`
15
15
AWK=@AWK@
16
16
17
17
[ -n " $2 " ] || exit 1
You can’t perform that action at this time.
0 commit comments