What if tempdir contains a space?

This commit is contained in:
Jamie Cameron
2019-09-16 23:11:13 -07:00
parent 0c693e43f4
commit bb07dcd060

View File

@@ -324,7 +324,7 @@ else
if [ "$autoos" = "" ]; then
autoos=2
fi
$perl "$srcdir/oschooser.pl" "$srcdir/os_list.txt" $tempdir/$$.os $autoos
$perl "$srcdir/oschooser.pl" "$srcdir/os_list.txt" "$tempdir/$$.os" $autoos
if [ $? != 0 ]; then
exit $?
fi