diff options
Diffstat (limited to 'graphics/PanoTools/files/mkpthelpers.sh')
-rwxr-xr-x | graphics/PanoTools/files/mkpthelpers.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/PanoTools/files/mkpthelpers.sh b/graphics/PanoTools/files/mkpthelpers.sh new file mode 100755 index 00000000000..5688627b315 --- /dev/null +++ b/graphics/PanoTools/files/mkpthelpers.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# +# $Id: mkpthelpers.sh,v 1.1 2003/04/20 06:58:20 rh Exp $ +# +# This script creates a Helpers directory in the current directory. +# It will also create a Script.txt if it doesn't exist yet. +# Both are needed for the PanoTools helpers to work. +# +if mkdir Helpers ; then + for i in PTAverage PTInterpolate PTMorpher PTOptimizer PTStereo \ + PTStitcher PTStripe ; do + ln -s @@prefix@@/libexec/PanoTools/$i Helpers + done + + cp -R @@prefix@@/share/PanoTools/Templates Helpers +fi + +[ -f Script.txt ] || \ +cp @@prefix@@/share/doc/PanoTools/Stitcher_Script.txt Script.txt |