diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-28 15:02:44 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-28 15:02:44 +0300 |
| commit | 6b46e941cd91eaac001eba8e16189592c954d6f3 (patch) | |
| tree | 19f44d6dc77cb90995bd5ab8b912a4f3d797920f | |
| parent | 180c00173a8da77eb18bdca9f613f8a8a1d38bfd (diff) | |
| download | pfetch-6b46e941cd91eaac001eba8e16189592c954d6f3.tar.gz | |
fix more minixisms
| -rwxr-xr-x | pfetch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1160,7 +1160,7 @@ main() { # Print '$cursor_pos' amount of newlines to correctly position the # cursor. This used to be a 'printf $(seq X X)' however 'seq' is only # typically available (by default) on GNU based systems! - while [ "${i:-0}" -le "${cursor_pos:-0}" ]; do + while [ "${i:=0}" -le "${cursor_pos:-0}" ]; do printf '\n' i=$((i + 1)) done >&6 |
