Changeset 293
- Timestamp:
- 06/06/08 22:47:33 (6 months ago)
- Files:
-
- gpgdir/trunk/ChangeLog (modified) (1 diff)
- gpgdir/trunk/gpgdir (modified) (5 diffs)
- gpgdir/trunk/gpgdir.1 (modified) (1 diff)
- gpgdir/trunk/install.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gpgdir/trunk/ChangeLog
r292 r293 2 2 - Updated to Class::MethodMaker 2.11 from CPAN. This helps with systems 3 3 running perl-5.10.0 and greater (such as Fedora 9). 4 - Updated to always set the LC_ALL environmental variable to the "C" 5 locale. This can be set to other locales with a new argument --locale, 6 or the default locale can be used by using --no-locale argument. 4 7 5 8 gpgdir-1.9 (05/31/2008): gpgdir/trunk/gpgdir
r290 r293 103 103 my $NO_DEL_SOURCE_FILE = 0; 104 104 105 my $locale = 'C'; ### default LC_ALL env variable 106 my $no_locale = 0; 107 105 108 ### for user answers 106 109 my $ACCEPT_YES_DEFAULT = 1; … … 118 121 Getopt::Long::Configure('no_ignore_case'); 119 122 120 die "[ -] Use --help for usage information.\n" unless(GetOptions (123 die "[*] Use --help for usage information.\n" unless(GetOptions ( 121 124 'encrypt=s' => \$encrypt_dir, # Encrypt files in this directory. 122 125 'decrypt=s' => \$decrypt_dir, # Decrypt files in this directory. … … 174 177 'user-homedir=s' => \$homedir, # Path to home directory. 175 178 'no-preserve-times' => \$no_fs_times, # Don't preserve mtimes or atimes. 179 'LC_ALL=s' => \$locale, 180 'locale=s' => \$locale, # synonym 181 'no-LC_ALL' => \$no_locale, 182 'no-locale' => \$no_locale, # synonym 176 183 'verbose' => \$verbose, # Verbose mode. 177 184 'Version' => \$printver, # Print version … … 179 186 )); 180 187 &usage_and_exit() if $help; 188 189 ### set LC_ALL env variable 190 $ENV{'LC_ALL'} = $locale unless $no_locale; 181 191 182 192 print "[+] gpgdir v$version (file revision: $rev_num)\n", … … 1274 1284 (this is not common). 1275 1285 -u, --user-homedir <dir> - Path to home directory. 1286 -l, --locale <locale> - Manually define a locale setting. 1287 --no-locale - Don't set the locale to anything (the 1288 default is the "C" locale). 1276 1289 -v, --verbose - Run in verbose mode. 1277 1290 -V, --Version - print version. gpgdir/trunk/gpgdir.1
r245 r293 202 202 upon encryption or decryption. 203 203 .TP 204 .BR \-l ", " " \-\^\-locale\ \<locale> 205 Provide a locale setting other than the default "C" locale. 206 .TP 207 .BR \-\^\-no-locale 208 Do not set the locale at all so that the default system locale will apply. 209 .TP 204 210 .BR \-v ", " \-\^\-verbose 205 211 Run in verbose mode. gpgdir/trunk/install.pl
r268 r293 88 88 'home-dir=s' => \$config_homedir, ### force a specific home dir 89 89 'LC_ALL=s' => \$locale, 90 'locale=s' => \$locale, 90 91 'no-LC_ALL' => \$no_locale, 92 'no-locale' => \$no_locale, ### synonym 91 93 'uninstall' => \$uninstall, # Uninstall gpgdir. 92 94 'help' => \$print_help # Display help.
