~ubuntu-branches/ubuntu/trusty/expect/trusty

« back to all changes in this revision

Viewing changes to example/decryptdir

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2006-10-01 22:23:00 UTC
  • mfrom: (2.1.7 edgy)
  • Revision ID: james.westby@ubuntu.com-20061001222300-08nd1wqc92mxggdq
Tags: 5.43.0-8
* Added patch from Niko Tyni <ntyni@iki.fi> to fix static library name on
  alpha, mips and mipsel (Closes: #390366).
* Added *.so symlink (Closes: #390365).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/expect --
 
1
#!../expect --
2
2
# Name: cryptdir
3
3
# Author: Don Libes, NIST
4
4
#
8
8
#
9
9
# Encrypt or decrypts the current directory or named directory if given.
10
10
 
11
 
if {![file exists /usr/bin/crypt]} {
12
 
    puts "This example requires the mcrypt package."
13
 
    exit
14
 
}
15
 
 
16
11
if {[llength $argv] > 0} {
17
12
    cd $argv
18
13
}