fix(checkpkg): add a default value for terminal width
- Ensures availability when
$COLUMNS
is not present
In some cases, the $COLUMNS
variable may not exist and we may need to set a default value. This is also in line with the practice of this project before: src/diffpkg.in#L156.
Otherwise, the checkpkg
process may fail with:
==> Running checkpkg
-> Checking packages
diff: invalid width ''
diff: Try 'diff --help' for more information.