bugfix 2 to search correct directory

pull/5/head
Tomas M 2012-12-01 03:40:48 -09:00
parent 130fe6d500
commit 965ff5c36c
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ union_append_bundles()
echo_green_star echo_green_star
echo "Adding bundles to union" echo "Adding bundles to union"
( ls -1 "$1" ; find "$1/modules/" 2>/dev/null ) | grep '[.]'$BEXT'$' | sort -n | while read BUNDLE; do ( ls -1 "$1" | sort -n ; cd "$1" ; find modules/ 2>/dev/null | sort -n ) | grep '[.]'$BEXT'$' | while read BUNDLE; do
echo "* $BUNDLE" echo "* $BUNDLE"
BUN="$(basename "$BUNDLE")" BUN="$(basename "$BUNDLE")"
mkdir -p "$2/$BUN" mkdir -p "$2/$BUN"