startup.bash 483 B

1234567891011121314151617181920212223242526272829303132
  1. set -e
  2. # cd build-bash; bash startup.bash;
  3. #----------------------------------------------
  4. # cur path
  5. curPath=$PWD
  6. cd $curPath/../../..
  7. export basePath="$PWD"
  8. cd $curPath
  9. #----------------------------------------------
  10. echo "build-bash/startup.bash"
  11. for file in *.sh
  12. do
  13. echo "-----------------------------------------------------------------"
  14. echo "[$(date "+%H:%M:%S")] sh $file"
  15. sh $file
  16. done
  17. #----------------------------------------------
  18. #
  19. cd $curPath