makeself icon indicating copy to clipboard operation
makeself copied to clipboard

Use the --cleanup parameter error

Open EscapeLife opened this issue 5 years ago • 0 comments

makeself: 2.4.2

Use the following command(--cleanup) add the cleanup script:

  • cleanup.sh
#!/bin/bash

ls -lh
  • command
$ makeself --gzip --follow --notemp --nooverwrite \
    --cleanup cleanup.sh \
    ./packages ./packages.run "SFX installer for program"

After executing the command to generate the ./packages.run, and run this show the following error:

  • output
 ./packages.run
Creating directory packages
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing SFX installer for program  100%
./packages.run: 274: cd: can't cd to packages
./packages.run: 1: eval: cleanup.sh: not found

It could be a Bug

图片已粘贴至2020-11-11 15-42

EscapeLife avatar Nov 20 '20 03:11 EscapeLife