summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/osx-strip.in
blob: be23f652ff83bac189cc34c5eb4fb3036c1d3ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! @SHELL@
# osx-strip: shell script to strip luatex (and other binaries)
#    for Mac OS X, keeping the global symbols.
#
#   Copyright (C) 2001 Peter Breitenlohner <tex-live@tug.org>
#      and Philipp Stephani <st_philipp@yahoo.de>
#
#   This file is free software; the copyright holders
#   give unlimited permission to copy and/or distribute it,
#   with or without modifications, as long as this notice is preserved.
#
case $1 in
  -S | -x) exec @PATH_STRIP@ "$@" ;;
  *) exec @PATH_STRIP@ -S -x "$@" ;;
esac