diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-16 07:12:39 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-16 07:12:39 +0000 |
commit | ca4ace407c938d58c7fe33cb872b0705635b39cf (patch) | |
tree | fc404794ca9ec272acaaa84fdb83433c79296596 /rdiff-backup/testing/chdir-wrapper2 | |
parent | 7d34f23699cc540bd1986cb3ae62d52952ede596 (diff) | |
download | rdiff-backup-ca4ace407c938d58c7fe33cb872b0705635b39cf.tar.gz |
Adapted everything to new exploded format
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@130 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/chdir-wrapper2')
-rwxr-xr-x | rdiff-backup/testing/chdir-wrapper2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rdiff-backup/testing/chdir-wrapper2 b/rdiff-backup/testing/chdir-wrapper2 new file mode 100755 index 0000000..7fc1312 --- /dev/null +++ b/rdiff-backup/testing/chdir-wrapper2 @@ -0,0 +1,16 @@ +#!/usr/bin/env python + +"""Used to emulate a remote connection by changing directories. + +Like chdir-wrapper, but this time run the 'rdiff-backup' script, not +some other special thing. + +""" + +import os, sys + +if len(sys.argv) > 1: os.chdir(sys.argv[1]) +#PipeConnection(sys.stdin, sys.stdout).Server() + +os.system("/home/ben/prog/python/rdiff-backup/rdiff-backup --server") + |