code - script - especifico - funcion - f09_fdep_drupal.f - Busqueda superficial - Movida a parte común

  1. #!/usr/bin/bash
  2. #-------------------------------------------------------------------
  3. # Funciones Entornos Unix - Brqx Site - Brqx Org
  4. # Brqx Org - Rct - 2009
  5. #-------------------------------------------------------------------
  6. VERSION_SCRIPT="V 5.0" # Version del Script actual
  7. FECHA_SCRIPT="Junio 2009"
  8. #-------------------------------------------------------------------
  9. LEVEL_NIVEL=04
  10. CONCEPT_CARACTER="especifico"
  11. CONCEPT_MOLDE="alias"
  12. CONCEPT_ARQUETIPO="acceso"
  13. CONCEPT_LEVEL="Lista $CONCEPT_MOLDE ${CONCEPT_ARQUETIPO} ${CONCEPT_CARACTER}"
  14. #-==================================================================
  15. #+ Funciones definidos:
  16. #-------------------------------------------------------------------
  17. #-- bscp auto_cp_base
  18. #-------------------------------------------------------------------
  19. #- Funciones Requeridas
  20. #-------------------------------------------------------------------
  21. #-- fdep
  22. #-------------------------------------------------------------------
  23.  
  24. #-==================================================================
  25.  
  26. #- Funcion de listado de carpetas usando profundidad superficial
  27. fdep()
  28. {
  29. RUTA_MODULO=$1
  30.  
  31. FN_FDEP_SALIDA=`find ${RUTA_MODULO}/* -maxdepth 0 -type d`
  32.  
  33. }