index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-06 10:33:17 +0100 |
---|---|---|
committer | Chantry Xavier <shiningxc@gmail.com> | 2008-01-06 10:33:17 +0100 |
commit | a27d7f6071969623362785df50546cf48e8f1d2e (patch) | |
tree | 8c1b5c1aad7e69f28ab62d0af9ba9db7f67f404f | |
parent | 1a0aaa20df29234250ecc0f9fc3f56bb8cf22ca1 (diff) |
-rwxr-xr-x | pactest/util.py | 3 |
diff --git a/pactest/util.py b/pactest/util.py index 72777ca0..b24bfdcf 100755 --- a/pactest/util.py +++ b/pactest/util.py @@ -103,7 +103,8 @@ def mkfile(name, data = ""): return if islink: curdir = os.getcwd() - os.chdir(path) + if path: + os.chdir(path) os.symlink(link, os.path.basename(filename)) os.chdir(curdir) else: |