summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-12-07 19:18:55 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-12-07 19:18:55 +0000
commit390e37074558f83a2df042019910a73a03a0c1fa (patch)
treedefd70009b8c1174fdc729eb8578ffcb7352d21a /rdiff-backup
parent6e531149dc45115b875eed61d5aec13cf1055f5c (diff)
downloadrdiff-backup-390e37074558f83a2df042019910a73a03a0c1fa.tar.gz
Updated to fit new CVS format
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@242 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rwxr-xr-xrdiff-backup/testing/chdir-wrapper26
1 files changed, 4 insertions, 2 deletions
diff --git a/rdiff-backup/testing/chdir-wrapper2 b/rdiff-backup/testing/chdir-wrapper2
index 7fc1312..fef4038 100755
--- a/rdiff-backup/testing/chdir-wrapper2
+++ b/rdiff-backup/testing/chdir-wrapper2
@@ -9,8 +9,10 @@ some other special thing.
import os, sys
-if len(sys.argv) > 1: os.chdir(sys.argv[1])
+if len(sys.argv) > 1:
+ olddir = os.getcwd()
+ os.chdir(sys.argv[1])
#PipeConnection(sys.stdin, sys.stdout).Server()
-os.system("/home/ben/prog/python/rdiff-backup/rdiff-backup --server")
+os.system(os.path.join(olddir, "../rdiff-backup") + " --server")