[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-unattended/var/se3/unattended/install/tools/ -> check (source)

   1  #!/bin/bash
   2  
   3  # Change to the scripts directory so paths are correct
   4  cd "$(dirname "$0")"/..
   5  
   6  # Default to ENU if nothing passed in as first arg
   7  if [ ".$1" == "." ]; then WINLANG="ENU"; else WINLANG="$1"; fi
   8  
   9  # Default to all files if nothing passed in as second arg
  10  if [ ".$2" == "." ]; then DOFILE="*"; else DOFILE="$2"; fi
  11  
  12  for a in `egrep -Hri '^(run|start|todo).*(packages|updates)\\\\' scripts/$DOFILE | sed "s/%WINLANG%/$WINLANG/g" | perl -pe 's#scripts/(.*?):.*?((packages|updates)\\\\.*?\.([a-zA-Z]{3})).*#$1:$2#;s#\\\\#/#g;s#//#/#g' | tr ' [:upper:]' '~[:lower:]' | sort | egrep -vi '^(run|start|todo)'`
  13  do 
  14      a=`echo $a | tr '~' ' '`
  15      if ! [ -r "`echo $a | cut -d':' -f2`" ]
  16      then 
  17          echo $a
  18      fi
  19  done


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1