honour bundle extension

pull/5/head
Tomas M 2012-09-17 09:03:24 -05:00
parent ec4660f831
commit c2cb90aae3
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ find_data()
# #
union_append_bundles() union_append_bundles()
{ {
ls -1 "$1" | grep '.sb$' | sort | while read BUNDLE; do ls -1 "$1" | grep '.'$BEXT'$' | sort | while read BUNDLE; do
mkdir -p "$2/$BUNDLE" mkdir -p "$2/$BUNDLE"
mount -o loop -t squashfs "$1/$BUNDLE" "$2/$BUNDLE" mount -o loop -t squashfs "$1/$BUNDLE" "$2/$BUNDLE"
mount -o remount,add:1:"$2/$BUNDLE" none "$3" mount -o remount,add:1:"$2/$BUNDLE" none "$3"