Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. export PATH
  2.  
  3. if [ -z "$1" ]
  4. then
  5. echo Bitte gib eine oder mehrere Konfigurationsdatei/en (ohne Endung) an oder all für alle Konfigurationen?
  6. exit 1
  7. fi
  8.  
  9. if [ $1 == "all" ]
  10. then
  11. var=`ls -p *.cfg | sed 's/.cfg$//'`
  12. else
  13. var=$*
  14. fi
  15.  
  16. for i in $var
  17. do
  18. ./updatefli4l.sh -c $i
  19. tarballDir=`ls .. | grep fli4l | sort | tail -1`
  20. configDir=`pwd`
  21. configDir=$configDir`echo /config/$i | cut -d "." -f 1`
  22. echo $tarballDir
  23. echo $configDir
  24. cd ../$tarballDir
  25. ./mkfli4l.sh $configDir
  26. cd ../frankscript
  27. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement