[0a0f61]: mac / lens_calibrate_gui-xrc.sh  Maximize  Restore  History

Download this file

29 lines (24 with data), 772 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
# $Id: calibrate_lens_gui-xrc.sh 2011 2011-06-05 HvdW $
# 2011-07-29 vs0.2
huginVer="$HUGIN_PACKAGE_VERSION"
huginBuilder="$HUGIN_BUILDER"
resdir="$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Resources"
huginsrcdir="../src/hugin1/hugin"
xrcsrcdir="$huginsrcdir/xrc"
celeste_data="../src/celeste/data"
icpfind_default="../src/hugin1/icpfind/default.mac"
# First create a Resources folder as calibrate_lens_gui-xrc doesn't have that by default
rm -fR $resdir/xrc $resdir
mkdir $resdir
echo "copying xrc folder to $resdir/xrc"
cp -R $xrcsrcdir $resdir/
echo "removing extra files from xrc folder"
for DIR in $resdir/xrc "$resdir/xrc/??*" "$resdir/xrc/??*/??*"
do
rm -fR $DIR/.hg*
rm -f $DIR/.??*
rm -fR $DIR/CVS
rm -f $DIR/Makefil*
rm -f $DIR/CMake*
done

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks