- Timestamp:
- Jul 16, 2010, 6:28:10 PM (14 years ago)
- Location:
- dasscm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
dasscm/trunk/dasscm.spec
r905 r915 14 14 Version: 1.0 15 15 Release: 0 16 Requires: subversion perl perl-TermReadKey 16 Requires: subversion perl 17 # perl-TermReadKey: 18 # replaced ReadMode('noecho') by `stty -echo` 19 # to reduce dependencies 17 20 Source: %{name}_%{version}.orig.tar.gz 18 21 BuildRoot: %{_tmppath}/%{name}-%{version}-build -
dasscm/trunk/usr/bin/dasscm
r914 r915 1053 1053 1054 1054 # hidden password input 1055 print "Enter password for $input_username: "; 1056 ReadMode('noecho'); 1055 print "Enter password stty for $input_username: "; 1056 #ReadMode('noecho'); 1057 `stty -echo`; 1057 1058 my $input_password = <STDIN>; 1058 ReadMode('normal'); 1059 #ReadMode('normal'); 1060 `stty echo`; 1059 1061 chomp($input_password); 1060 1062 print "\n";
Note:
See TracChangeset
for help on using the changeset viewer.