aboutsummaryrefslogtreecommitdiff
path: root/cabalize
diff options
context:
space:
mode:
Diffstat (limited to 'cabalize')
-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"