nosnhojn | b0d8f38 | 2012-04-02 16:08:33 -0600 | [diff] [blame] | 1 | #!/usr/bin/bash |
nosnhojn | 246c401 | 2011-11-22 21:47:37 -0700 | [diff] [blame] | 2 | |
neil johnson | c749da3 | 2018-08-21 14:29:02 -0400 | [diff] [blame] | 3 | ############################################################################ |
nosnhojn | 246c401 | 2011-11-22 21:47:37 -0700 | [diff] [blame] | 4 | # |
Tudor Timi | 516905c | 2020-08-15 17:30:35 +0200 | [diff] [blame] | 5 | # Copyright 2011 The SVUnit Authors. |
| 6 | # |
neil johnson | c749da3 | 2018-08-21 14:29:02 -0400 | [diff] [blame] | 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
Tudor Timi | 516905c | 2020-08-15 17:30:35 +0200 | [diff] [blame] | 10 | # |
neil johnson | c749da3 | 2018-08-21 14:29:02 -0400 | [diff] [blame] | 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
Tudor Timi | 516905c | 2020-08-15 17:30:35 +0200 | [diff] [blame] | 12 | # |
neil johnson | c749da3 | 2018-08-21 14:29:02 -0400 | [diff] [blame] | 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
nosnhojn | 246c401 | 2011-11-22 21:47:37 -0700 | [diff] [blame] | 18 | # |
neil johnson | c749da3 | 2018-08-21 14:29:02 -0400 | [diff] [blame] | 19 | ############################################################################ |
nosnhojn | 246c401 | 2011-11-22 21:47:37 -0700 | [diff] [blame] | 20 | |
nosnhojn | 246c401 | 2011-11-22 21:47:37 -0700 | [diff] [blame] | 21 | export SVUNIT_INSTALL=`pwd` |
| 22 | if [ "${PATH/$SVUNIT_INSTALL\/bin/}" == "$PATH" ]; then |
| 23 | export PATH=$PATH:$SVUNIT_INSTALL"/bin" |
| 24 | fi |