< prev index next >

make/devkit/createPandocBundle.sh

Print this page

        

@@ -39,13 +39,10 @@
   PANDOC_PLATFORM=linux
   PANDOC_SUFFIX=tar.gz
 elif [[ $TARGET_PLATFORM == macosx_x64 ]] ; then
   PANDOC_PLATFORM=macOS
   PANDOC_SUFFIX=zip
-elif [[ $TARGET_PLATFORM == windows_x64 ]] ; then
-  PANDOC_PLATFORM=windows-x86_64
-  PANDOC_SUFFIX=zip
 else
   echo "Unknown platform"
   exit 1
 fi
 BUNDLE_NAME=pandoc-$TARGET_PLATFORM-$PANDOC_VERSION+$PACKAGE_VERSION.tar.gz

@@ -60,14 +57,9 @@
   tar xzf ../pandoc-$PANDOC_VERSION-$PANDOC_PLATFORM.$PANDOC_SUFFIX
 fi
 cd ..
 
 mkdir pandoc
-if [[ $TARGET_PLATFORM == windows_x64 ]] ; then
-  cp tmp/pandoc-$PANDOC_VERSION-$PANDOC_PLATFORM/pandoc.exe pandoc
-  chmod +x pandoc/pandoc.exe
-else
-  cp tmp/pandoc-$PANDOC_VERSION/bin/pandoc pandoc
-fi
+cp tmp/pandoc-$PANDOC_VERSION/bin/pandoc pandoc
 
 tar -cvzf ../$BUNDLE_NAME pandoc
 cp ../$BUNDLE_NAME "$ORIG_DIR"
< prev index next >