From db9bbd864d590ef2b54bb0333c7bf362fe99920d Mon Sep 17 00:00:00 2001 From: Tomas M Date: Thu, 22 Nov 2012 16:38:30 -0600 Subject: [PATCH] always sort by number which prepends the module --- livekitlib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livekitlib b/livekitlib index 650ac41..c5b0764 100644 --- a/livekitlib +++ b/livekitlib @@ -456,7 +456,7 @@ union_append_bundles() debug_log "union_append_bundles" "$*" echo_green_star echo "Adding bundles to union" - ls -1 "$1" | grep '.'$BEXT'$' | sort | while read BUNDLE; do + ls -1 "$1" | grep '.'$BEXT'$' | sort -n | while read BUNDLE; do echo "* $BUNDLE" mkdir -p "$2/$BUNDLE" mount -o loop -t squashfs "$1/$BUNDLE" "$2/$BUNDLE"