makeself
makeself copied to clipboard
Use the --cleanup parameter error
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
