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 # This program and the accompanying materials 8 # are licensed and made available under the terms and conditions of the BSD License 9 # which accompanies this distribution. The full text of the license may be found at 10 # http://opensource.org/licenses/bsd-license.php 11 # 12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14 # 15 16 for arg; do 17 case $arg in 18 -e|-d) 19 set -- "$@" --f86 20 break 21 ;; 22 esac 23 done 24 25 exec LzmaCompress "$@" 26