aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-13 17:42:14 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-13 17:42:14 +0000
commit00fff7d940aef1304d9a319411428d76c30057a2 (patch)
tree564066c24cc6c7fea21344117b40572eb7478dc5
parentcc26d7cfed5387b54ac9ee73c3bd26914d4e96d3 (diff)
downloadpandoc-00fff7d940aef1304d9a319411428d76c30057a2.tar.gz
Reverted addition of .exe to Windows executables in cabalize.
It seems that Cabal does not expect these extensions. Better to handle this in the Makefile. git-svn-id: https://pandoc.googlecode.com/svn/trunk@191 788f1e2b-df1e-0410-8736-df70ead52e1b
-rwxr-xr-xcabalize6
1 files changed, 1 insertions, 5 deletions
diff --git a/cabalize b/cabalize
index f2223ed92..407336c9b 100755
--- a/cabalize
+++ b/cabalize
@@ -38,11 +38,7 @@ if printf "$cabal_version\n1.1.3" | sort | tail -n 1 | grep -q '1\.1\.3'; then
HS_SOURCE_DIRS='Hs-Source-Dir'
fi
-# If running Windows/Cygwin, add .exe to executable name
-EXTENSION=$(uname | tr 'A-Z' 'a-z' | sed -ne 's/^cygwin.*$/\.exe/p')
-
sed -e "s#@HCFLAGS@#$HCFLAGS#g" \
-e "s#@BUILD_DEPENDS@#$BUILD_DEPENDS#g" \
-e "s#@HS_SOURCE_DIRS@#$HS_SOURCE_DIRS#g" \
- -e "s#@VERSION@#$PANDOC_VERSION#g" \
- -e "s#^\(Executable:[[:space:]]*pandoc\)#\1$EXTENSION#g"
+ -e "s#@VERSION@#$PANDOC_VERSION#g"