LzmaF86Compress 421 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. #
  3. # This script will exec LzmaCompress tool with --f86 option that enables converter for x86 code.
  4. #
  5. # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
  6. # Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
  7. # SPDX-License-Identifier: BSD-2-Clause-Patent
  8. #
  9. for arg; do
  10. case $arg in
  11. -e|-d)
  12. set -- "$@" --f86
  13. break
  14. ;;
  15. esac
  16. done
  17. exec LzmaCompress "$@"