1e4af8f11SPedro Giffuni#!/bin/sh
2*30cfceefSAndrew Rist# *************************************************************
3*30cfceefSAndrew Rist#
4*30cfceefSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
5*30cfceefSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
6*30cfceefSAndrew Rist#  distributed with this work for additional information
7*30cfceefSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
8*30cfceefSAndrew Rist#  to you under the Apache License, Version 2.0 (the
9*30cfceefSAndrew Rist#  "License"); you may not use this file except in compliance
10*30cfceefSAndrew Rist#  with the License.  You may obtain a copy of the License at
11*30cfceefSAndrew Rist#
12*30cfceefSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
13*30cfceefSAndrew Rist#
14*30cfceefSAndrew Rist#  Unless required by applicable law or agreed to in writing,
15*30cfceefSAndrew Rist#  software distributed under the License is distributed on an
16*30cfceefSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*30cfceefSAndrew Rist#  KIND, either express or implied.  See the License for the
18*30cfceefSAndrew Rist#  specific language governing permissions and limitations
19*30cfceefSAndrew Rist#  under the License.
20*30cfceefSAndrew Rist#
21*30cfceefSAndrew Rist# *************************************************************
22cdf0e10cSrcweir
23e4af8f11SPedro Giffuni# shell script as a workaround since it is hard to impossible to store compiled
24cdf0e10cSrcweir# applescript in CVS and running osacompile would require a GUI session while
25cdf0e10cSrcweir# building (or root privileges)
26cdf0e10cSrcweir# using osascript only works when the shell script is camouflaged as application
27cdf0e10cSrcweir
28cdf0e10cSrcweirMY_DIR=$(dirname "$0")
29cdf0e10cSrcweir
30cdf0e10cSrcweirosascript "$MY_DIR/osx_install.applescript"
31