diff options
author | Auke Booij (tulcod) <auke@tulcod.com> | 2010-07-08 22:39:15 +0200 |
---|---|---|
committer | Auke Booij (tulcod) <auke@tulcod.com> | 2010-07-08 22:39:15 +0200 |
commit | d02f31f1d49638fbd4ba18b51e2895748b67c75d (patch) | |
tree | 12df1227852fd315158e8120b76c38e5771bac7e | |
parent | Add some more comment to the code (diff) | |
download | g-cran-d02f31f1d49638fbd4ba18b51e2895748b67c75d.tar.gz g-cran-d02f31f1d49638fbd4ba18b51e2895748b67c75d.tar.bz2 g-cran-d02f31f1d49638fbd4ba18b51e2895748b67c75d.zip |
Hopefully finally fix guessing PORTDIR
-rw-r--r-- | g_cran/cran_read.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g_cran/cran_read.py b/g_cran/cran_read.py index 2da4420..1b0eeb8 100644 --- a/g_cran/cran_read.py +++ b/g_cran/cran_read.py @@ -20,6 +20,7 @@ def portage_dir(): find_portdir=re.match('\s*PORTDIR\s*=\s*"?(.*)"?\s*',line) if find_portdir: portage_location=find_portdir.group(1).strip() + break else: portage_location='/usr/portage' elif os.path.exists('/usr/portage'): #default location |