Commit e113526
committed
tools/semver-compare.sh: with fixed-width strings instead of numbers, we can forgo the "sort -n", it is confusing on some systems [networkupstools#3055]
NetBSD, looking at you:
( echo '0001 0030' ; echo '0001 0003' ) | sort
inverses order with sort -n
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>1 parent 69c124a commit e113526
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments