index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-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: |