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