summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/setup.sh
blob: 85b16969355c3ed586a87f3ba9a66106c4909896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

target=$PWD

cp $target/bin/xindy $target/bin/xindy.org

sed -e "s:\$lib_dir = \"\(.*\):\$lib_dir = \"$target\/lib/xindy\";:" \
$target/bin/xindy.org > $target/bin/xindy

# remove wrapper script
rm -f $target/setup.sh $target/bin/xindy.org