Project

General

Profile

  • svn:executable: *

# Date Author Comment
11970 01/20/2014 11:33 AM Aaron Marcuse-Kubitza

moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).

1953 04/23/2012 07:00 PM Aaron Marcuse-Kubitza

Scripts that are meant to be run in the calling shell: Fixed bug where running the script inside another script would make the script think it was being run as a program, and abort with a usage error

1952 04/23/2012 06:56 PM Aaron Marcuse-Kubitza

Scripts that are meant to be run in the calling shell: Fixed bug where running the script as a program (without initial ".") wouldn't be able to call return in something that was not a function. Converted all code to a <script_name>_main method so that return would work properly again. Converted all variables to local variables.

1951 04/23/2012 06:38 PM Aaron Marcuse-Kubitza

env_password: return instead of exit if password not yet stored, in case user is running it from a shell without the initial "-" argument. (This would be the case if the user is just testing out the script, instead of using a command that env_password directs them to run.)

1950 04/23/2012 05:43 PM Aaron Marcuse-Kubitza

env_password: Use ${BASH_SOURCE0} for $self and $self for $0. return instead of exit on usage error in case user is running it from a shell.

1553 03/22/2012 05:41 PM Aaron Marcuse-Kubitza

env_password: Print Usage message if run without initial "."

1144 02/25/2012 07:02 PM Aaron Marcuse-Kubitza

env_password: Fixed to set the environment variable in the calling shell. Do this by cc-ing the tty only on messages before the "Enter password" prompt, because the redirect creates a subshell which causes the env var to only be set within that subshell.

1093 02/24/2012 12:46 PM Aaron Marcuse-Kubitza

env_password: Fixed bug where exit command would not cause it to exit, because pipefail shell option was not set. Moved automatic exiting of the calling script into env_password itself.

1091 02/24/2012 12:18 PM Aaron Marcuse-Kubitza

env_password: cc stderr if it's a log file

1090 02/23/2012 06:49 PM Aaron Marcuse-Kubitza

env_password: Print all messages to /dev/tty so the user sees them even if stderr is redirected to a log file. Exit if password not already set, because e.g. scripts run in the background will not be able to prompt for it.

293 12/23/2011 03:26 PM Aaron Marcuse-Kubitza

env_password: Allow user to change saved password

292 12/23/2011 03:14 PM Aaron Marcuse-Kubitza

env_password: Don't print instructions for storing password for the session if called to store password for the session

291 12/23/2011 03:00 PM Aaron Marcuse-Kubitza

env_password: Print absolute path to env_password in case invoking script changed the working directory

290 12/23/2011 02:57 PM Aaron Marcuse-Kubitza

env_password: Print instructions for storing password for the session

274 12/22/2011 07:02 PM Aaron Marcuse-Kubitza

Renamed util to bin

268 12/22/2011 06:39 PM Aaron Marcuse-Kubitza

Moved everything in scripts to root. inputs_Makefile: Don't run "all" when installing.

251 12/21/2011 08:22 PM Aaron Marcuse-Kubitza

env_password: Added optional message arg

186 12/16/2011 02:02 PM Aaron Marcuse-Kubitza

env_password: Print Usage message to stderr

183 12/16/2011 01:23 PM Aaron Marcuse-Kubitza

Converted scripts back to bash that required bash-specific features

131 12/09/2011 04:02 PM Aaron Marcuse-Kubitza

Added support for multiple database engines. Changed SALVIAS_db input to use user-entered password.