bugfix to search correct directory

pull/5/head
Tomas M 2012-12-01 03:38:52 -09:00
parent 4d25275dc3
commit 130fe6d500
1 changed files with 1 additions and 1 deletions

View File

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