OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 | |
3 # Copyright 2015 The Chromium Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 | |
7 # This uses lipo to thin out the specified file. | |
8 | |
9 set -e | |
10 | |
11 if [ $# -ne 1 ] ; then | |
12 echo "usage: ${0} FILEPATH" >& 2 | |
13 exit 1 | |
14 fi | |
15 | |
16 FILEPATH="${1}" | |
17 | |
18 lipo -thin x86_64 "${FILEPATH}" -o "${FILEPATH}" | |
OLD | NEW |