Author: Andreas Metzler
URL: https://sourceforge.net/tracker/?func=detail&aid=2857508&group_id=77506&atid=550441
Description: Do away with the .sh filename extension of autopano-noop.sh
diff -NurbBp a/src/hugin1/hugin/CPDetectorConfig_default.h b/src/hugin1/hugin/CPDetectorConfig_default.h
--- a/src/hugin1/hugin/CPDetectorConfig_default.h 2010-03-03 00:17:13.000000000 +0100
+++ b/src/hugin1/hugin/CPDetectorConfig_default.h 2010-03-27 14:24:57.000000000 +0100
@@ -58,7 +58,7 @@ const struct cpdetector_default default_
#else
#if !defined MAC_SELF_CONTAINED_BUNDLE
// Since medio 2008 the MacOSX bundle comes without default CPgenerators due to patent restrictions.
- {wxT("Autopano-SIFT-C"),wxT("autopano-noop.sh"),wxT("--maxmatches %p --projection %f,%v %o %i"),1l},
+ {wxT("Autopano-SIFT-C"),wxT("autopano-noop"),wxT("--maxmatches %p --projection %f,%v %o %i"),1l},
{wxT("Panomatic"),wxT("panomatic"),wxT("-o %o %i"),1l},
{wxT("Match-n-shift"),wxT("match-n-shift"),wxT("-b -a -f %f -v %v -c -p %p -o %o %i"),1l},
{wxT("Align image stack"),wxT("align_image_stack"),wxT("-f %v -p %o %i"),1l}
diff -NurbBp a/utils/CMakeLists.txt b/utils/CMakeLists.txt
--- a/utils/CMakeLists.txt 2010-03-03 00:17:12.000000000 +0100
+++ b/utils/CMakeLists.txt 2010-03-27 14:25:27.000000000 +0100
@@ -1,3 +1,3 @@
IF(UNIX)
- install(PROGRAMS autopano-noop.sh DESTINATION ${BINDIR})
+ install(PROGRAMS autopano-noop.sh DESTINATION ${BINDIR} RENAME autopano-noop)
ENDIF(UNIX)