PageRenderTime 40ms CodeModel.GetById 37ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/Core/TestResources/Test-ENVVAR-source/.engine_install

http://macfuse.googlecode.com/
#! | 36 lines | 29 code | 7 blank | 0 comment | 0 complexity | a514ef681321e44cccd19fe52b1a08a2 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
  1. #!/bin/bash
  2. # Copyright 2008 Google Inc.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. # the contents of the subsequent phase's KS_INSTALL_OUT
  16. echo -n "greeble"
  17. # make sure all of these environment variables have the right values
  18. result=0
  19. if [ "${KS_PREINSTALL_OUT:=undefined}" != "bork" ]; then
  20. echo "KS_PREINSTALL_OUT has unexpected value: '${KS_PREINSTALL_OUT}'"
  21. result=1
  22. fi
  23. if [ "${KS_INSTALL_OUT:=undefined}" != "undefined" ]; then
  24. echo "KS_INSTALL_OUT has unexpected value: '${KS_INSTALL_OUT}'"
  25. result=1
  26. fi
  27. cd "${1}"
  28. . .script_common
  29. exit $result