Skip to content

Commit

Permalink
simplify kernel rebuild lists
Browse files Browse the repository at this point in the history
* replaces the recent change with `sort -V` (as already used elsewhere)
  • Loading branch information
itoffshore committed Aug 23, 2024
1 parent e81fbfc commit 61dd011
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version [0.7.5] - 20240823
- small change to rebuild lists

Version [0.7.4] - 20240823
- add urlwatch examples
- improve kernel rebuild list / add archive option -a
Expand Down
3 changes: 1 addition & 2 deletions scripts/abk
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,8 @@ rebuild_kernel() {

tmp=$(mktemp)

# find output in date order
kern_list=$(find "$BUILD_DIR" -maxdepth 1 -type f -regextype posix-extended \
-regex ".*$KERNEL\-[0-9\.]+.*.tar.xz" -printf "%T+ %p\n" | sort | awk '{print $2}')
-regex ".*$KERNEL\-[0-9\.]+.*.tar.xz" | sort -V)

# print kernel archive menu
if [ -n "$kern_list" ]; then
Expand Down

0 comments on commit 61dd011

Please sign in to comment.