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