Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: azatoth/makeself
base: master
...
head fork: megastep/makeself
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Sep 08, 2011
@megastep megastep Added --quiet flags, patch from Rami Lehti 306a0bf
Commits on Nov 08, 2011
xos Allow for license information to be printed before installation. 203d126
@megastep megastep Merge pull request #7 from AndreasKostler/master
Allow inclusion of license text
c6e8369
Commits on Jan 02, 2012
@innovationstech innovationstech Changed spelling of "Self-extractible" to "Self-extractable". 1b84f7b
@megastep megastep Merge pull request #10 from innovationstech/master
Changed spelling of "Self-extractible" to "Self-extractable".
ed9495a
Commits on Jan 17, 2012
@cormander cormander Add base64 as an option for encoding
Some situations calls for non-binary data (such as scripts in rpm). I wrote
this patch to accommodate this question:

http://stackoverflow.com/questions/7813436/rpmbuild-using-script-files-contained-in-the-package-in-pre-script
50c301c
@megastep megastep Merge pull request #11 from cormander/master
base64 support
ac1f262
Commits on Aug 13, 2012
@dave-irvine dave-irvine Fixed quotes for calling du
du wasn't receiving $archdir in a quoted form, so trees with spaces
weren't being correctly handled, resulting in USIZE being null, which
eventually resulted in

```if test $leftspace -lt ; then```

being placed into the run script which would of course error when it
was run.
a25cc94
@megastep megastep Merge pull request #13 from dave-irvine/master
Call du with quoted $archdir
dcbe778
Commits on Nov 14, 2012
@rjeczalik rjeczalik Check for MD5 fails under SunOS 5.9
If MD5_PATH is empty makeself fails with:

CRC: 869537784
Usage:  basename [ path [ suffix-pattern ] ]
makeself.sh: test: argument expected

Changing the order of MD5_ARGS evaluation fixes the problem.
b475cc0
@megastep megastep Merge pull request #15 from x-formation/master
Check for MD5 fails under SunOS 5.9
cbb0c56
Commits on Nov 22, 2012
@ydavit ydavit - added option for invoking pbzip2 as a compression program
        - fixed file position handling in MS_dd_Progress() function.
          Previously it was skipping the first block, if the compressed
          file consists of a block and the tail
        - fixed progress printing in MS_dd_Progress() function.
32828da
Commits on Nov 23, 2012
@megastep megastep Merge pull request #16 from ydavit/master
Added pbzip2 support, and fixed some issues.
11216a7
Commits on Nov 29, 2012
Nicolas Rochelemagne Subject: Fix infinite loop when invoked incorrectly
Description:
This commit fixes a case where certain shells (most noticeably bash)
do not shift anything at all if shift 2 is used and there are not
two arguments.
This caused an infinite loop when the installer was invoked
incorrectly if run under such a shell.

Now a usage message is displayed instead.

Author: Brian Carlson <brian.carlson@cpanel.net>
Bug-Cpanel: http://fogbugz.cpanel.net/default.asp?61069
5301d9c
@megastep megastep Merge pull request #17 from atoomic/master
Fix infinite loop when invoked incorrectly
2c60998
@megastep megastep Updated documentation for github. ba9cf4b
Commits on Dec 04, 2012
@megastep megastep Minor documentation update. 521e0e3
Commits on Feb 25, 2013
Laurent Coustet Make compression level parametrable with a new flag --complevel 5a3e33b
Laurent Coustet Add MANUAL description for --complevel flag 6e41012
Laurent Coustet Add documentation for --xz flags a69818c
@megastep megastep Merge pull request #18 from zehome/master
This commit permits to specify by command line argument the compression level
2471908
Commits on Apr 12, 2013
@megastep megastep Added new option to add a tar argument when creating the archive. 3a76a14
@megastep megastep Documentation updates. 3ce8e4a
@megastep megastep Merge branch 'master' of github.com:megastep/makeself
Conflicts:
	README.md
	makeself.sh
d8769e6
Commits on Apr 13, 2013
@megastep megastep Minor documentation fix. b836b92
Commits on Jun 24, 2013
@Dridi Dridi Minor usage fix, startup_script is mandatory. f50bf99
@megastep megastep Updated GPL license (bug #22) 2df50c4
@megastep megastep Merge pull request #21 from Dridi/patch-1
Minor usage fix, startup_script is mandatory.
b1cb6af
Commits on Nov 24, 2013
@ShaunR ShaunR TAR_EXTRA needs to come before short opts and short opts needs a hyph…
…en prefix
eddffd7
Commits on Nov 25, 2013
@megastep megastep Merge pull request #26 from ShaunR/master
TAR_EXTRA doesn't work for long opts
1ab00a5
Commits on Dec 10, 2013
Sverre Hvammen Johansen Add environment variable USER_PWD
If the startup-script need the current working directory for the
user extracting the archive OLDPWD will work with most shells.
However, this is not always guaranteed to work.

This patch records the content of PWD at the time the
self-extracting script is run into USER_PWD.  The startup-script
can then more reliably use this environment variable.

This approach have been tested on different versions of HPUX, AIX,
Solaris, QNX Neutrino, Linux, and OS-X.
10fa357
@megastep megastep Merge pull request #27 from hvammen/master
Add environment variable USER_PWD
09fb541
Commits on Jan 27, 2014
Jon Salz Add --help-header option to prepend a string to the archive's --help. c9f605c
Commits on Jan 31, 2014
@megastep megastep Merge pull request #28 from jsalz/master
Add --help-header option to prepend a string to the archive's --help.
34725bc
Commits on Feb 19, 2014
Peter Targett Preserve newline characters
Preserve newline characters when echoing license string.
9367397
Commits on Feb 24, 2014
@megastep megastep Merge pull request #29 from petertargett/master
Preserve newline characters
cf0f9ba
Commits on Mar 09, 2014
@megastep megastep Look for a few more modern X11 terminals. 2ff7615
Commits on Mar 13, 2014
@rjeczalik rjeczalik escape $md5
If md5sum is not available, the test expression fails with:

+ md5=
+ test = 00000000000000000000000000000000
.sh: line 170: test: =: unary operator expected
0b8f2c4
@rjeczalik rjeczalik ensure all string-like variables are escaped
+ cosmetic changes to have all the test expression consistent
079ae73
@megastep megastep Merge pull request #31 from rjeczalik/master
test command fails at makeself-header.sh:170 when md5sum is not available, plus cosmetic fixes for consistent handling of the test commands.
5719540
Commits on Apr 03, 2014
Aaron Zollman License confirmation shown twice with --copy
There's already a --phase2 option that checks if the script is being
run after extraction; adding a check to not show the license if we're in
Phase 2.
573b58c
@megastep megastep Merge pull request #35 from zollman/phase2-duplicense
License confirmation shown twice with --copy
7ba8e37
Commits on Apr 11, 2014
@megastep megastep Work better with HP-UX's dd (fixes bug #36) 48304a7
Commits on Jul 22, 2014
Robin Lee allow spaces in 'startup_script' 6eee7f8
@megastep megastep Merge pull request #39 from cheese/master
allow spaces in 'startup_script'
d4de244
Commits on Aug 23, 2014
@zmhuang zmhuang extract information about file permissions 385f6df
Commits on Aug 28, 2014
@megastep megastep Merge pull request #40 from zmhuang/master
Restore original file permissions when extracting the archive (tar 'p' option)
ca41205
Commits on Nov 25, 2014
@megastep megastep Actually honor the --nowait option (bug #41) e079c40
Commits on Dec 11, 2014
@mikedld mikedld Properly quote and expand script name and arguments to allow spaces 327e03b
@megastep megastep Merge pull request #42 from mikedld/allow-spaces-in-script-name-and-a…
…rguments

Properly quote and expand script name and arguments to allow spaces.
6c53e4e
Commits on Jan 23, 2015
@illumion illumion adding ssl support ee0d1c7
Commits on Jan 24, 2015
@illumion illumion updated README.md to describe changes to --encrypt flag 356bf64
Commits on Jan 29, 2015
@megastep megastep Merge pull request #43 from mauilion/master
Adding encryption support via OpenSSL.
fe38fb0
@megastep megastep Updated list of command line options for encryption options. df82acb
Commits on Apr 13, 2015
@Am1GO Am1GO Added support for lzo and lz4 b77ebe7
Commits on Apr 15, 2015
@megastep megastep Merge pull request #45 from Am1GO/master
Added support for lzo and lz4
3e0bb2f
Commits on Apr 20, 2015
@Am1GO Am1GO Added progress indication for integrity check 3cac577
@megastep megastep Merge pull request #46 from Am1GO/master
Added progress indication for integrity check
7fc1592
Something went wrong with that request. Please try again.