Commit Graph

19 Commits

Author SHA1 Message Date
Eli Barzilay
a03b636936 No more "planet" executable. 2012-10-19 05:17:56 -04:00
Eli Barzilay
5b501da131 Minor fix for the installer tests.
The last "xrepl" might be at the BOL, with no preceding space.
2012-07-28 05:05:05 -04:00
Eli Barzilay
d7f0314c74 tex2page is gone, update installer tests. 2012-07-24 11:47:47 -04:00
Eli Barzilay
0814fd5fb5 Make it possible to use "~" or "~user" in the installer.
I've looked for a while, and it seems that there is no easy way to do
this, not even in bash, and worse with /bin/sh.  So this is kind of
resorting to a simple parsing of the input, and using `eval' if it
starts with a tilde.  Note the hack of not doing that when there is a
space, otherwise the `eval' thing will silently ignore it.

This hack means that it's easy to get into a mess if quotes are used
after a tilde, but that was already the case with the use of `eval' to
handle environment variables.  It's not a real security issue, however,
since we're talking about a user who can just run any command anyway.

Also including a test file for the expansion functionality.  If anyone
wants to improve this code, making the tests pass would reveal the
tricky issues.

[FWIW, I've asked on the #bash channel, and the only serious suggestion
was getting the paths as command-line arguments.  This will, however,
defeat the point of being newbie friendly...]

Closes PR 12893.
2012-07-18 22:25:41 -04:00
Eli Barzilay
c007c345f9 A bunch of more typos like the ones in David's commit. 2012-02-21 14:21:43 -05:00
Eli Barzilay
fb46b12836 Adjust the installer tests to the removal of libfit. 2012-01-19 13:59:47 -05:00
Eli Barzilay
1eec2b75e3 Improve unix installer tester.
* The installer is a command-line argument.

* Make it work in xterm too, by unsetting TERM.

* Works with version-less directories, from release installers.
2011-11-02 17:40:24 -04:00
Eli Barzilay
7e4eb501c5 Change test to match changed configure output 2011-10-22 07:06:08 -04:00
Eli Barzilay
08b2d7b595 Lots of little changes and fixes, and an extensive testing script. 2011-10-16 18:53:30 -04:00
Eli Barzilay
3589a70308 Rewrote large parts of the unix installer script.
It's now simpler, shorter, and better.  Some of the text is revised,
accepts environment variables when asked for the path, some additional
fixes in misc places.
2011-10-16 18:53:30 -04:00
Eli Barzilay
f882c01e65 Misc improvements (no functionality changes, yet). 2011-10-16 18:53:30 -04:00
Eli Barzilay
08e70c5e45 Make the default answer for running an older uninstaller "yes".
This makes it behave more like the Windows installer, where the default
is to remove an older installation, which most people want to do anyway.
2011-10-16 18:53:30 -04:00
Eli Barzilay
e9db4df6c3 Clearer question about running an existing uninstaller. 2011-10-10 13:30:04 -04:00
Eli Barzilay
de40798d49 Rename "$WHERE1" -> "$BASE". 2011-10-10 13:30:03 -04:00
Eli Barzilay
2240e54660 Rename "plt-installer-header" -> "installer-header" 2010-05-25 22:09:52 -04:00
Eli Barzilay
af07701590 updated config path snapshot 2010-05-25 22:09:51 -04:00
Eli Barzilay
49949a8421 Deal with a "~/" prefix.
A few additional improvements to the script.
2010-05-25 15:42:31 -04:00
Eli Barzilay
3ddeb6df17 Racketified unix installer. 2010-05-25 15:42:31 -04:00
Eli Barzilay
83c2c283fd existing version of build scripts 2010-05-15 10:45:15 -04:00