remove commented out cruft; tweak search results output; still not overly pleased with the search results output, but it will do for now.

This commit is contained in:
chess.griffin 2008-08-11 21:55:20 +00:00
parent 830dea2edc
commit c555c6225b

View File

@ -583,13 +583,9 @@ PKG=$1
RESULTS=$(find . -mindepth 2 -type d | grep $PKG | sed -e 's/.\///')
if [ -n "$RESULTS" ]; then
if [ "$DIAG" = 1 ]; then
#for i in ${RESULTS[*]%/}; do
for i in $RESULTS; do
#echo "$i" >> $TMP/sbopkg_search_results
echo "\"$i\"" "==" >> $TMP/sbopkg_search_results
echo "\"$i\"" "__" >> $TMP/sbopkg_search_results
done
# dialog --title "Matches for $PKG" --textbox \
#$TMP/sbopkg_search_results 15 50
dialog --title "Matches for $PKG" --menu "Please select an \
item you wish to view." 20 70 14 --file \
$TMP/sbopkg_search_results 2>$TMP/sbopkg_search_choice