diff options
| -rw-r--r-- | linux/make_artifacts.sh | 2 | ||||
| -rw-r--r-- | macos/make_macos_release.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh index 972b07b43..b843c154b 100644 --- a/linux/make_artifacts.sh +++ b/linux/make_artifacts.sh @@ -30,7 +30,7 @@ clean_up() { trap clean_up EXIT echo "Copying and stripping pandoc binary" -cp "$BINPATH/pandoc" "$ARTIFACTS/pandoc" +cp "$BINPATH" "$ARTIFACTS/pandoc" strip "$ARTIFACTS/pandoc" echo "Checking that the binary is statically linked..." diff --git a/macos/make_macos_release.sh b/macos/make_macos_release.sh index 27e0b958d..cf5d6137b 100644 --- a/macos/make_macos_release.sh +++ b/macos/make_macos_release.sh @@ -23,7 +23,7 @@ mkdir -p $DEST/share/man/man1 # Copy binary and strip it echo "Copying executable..." -cp "$BINPATH/pandoc" "$DEST/bin/" +cp "$BINPATH" "$DEST/bin/" strip "$DEST/bin/pandoc" # Copy man pages and license @@ -31,7 +31,7 @@ echo "Copying manuals and license..." cp man/pandoc.1 "$DEST/share/man/man1/pandoc.1" cp man/pandoc-server.1 "$DEST/share/man/man1/pandoc-server.1" cp man/pandoc-lua.1 "$DEST/share/man/man1/pandoc-lua.1" -"$BINPATH/pandoc" -s COPYING.md -Vpagetitle=License -o "$RESOURCES/license.html" +"$BINPATH" -s COPYING.md -Vpagetitle=License -o "$RESOURCES/license.html" # Prepare distribution directory; after downloading, run 'make' to notarize echo "Preparing distribution directory..." |
