diff options
author | 2011-08-15 19:53:29 +0200 | |
---|---|---|
committer | 2011-08-15 19:53:29 +0200 | |
commit | 724a5a4c1a5b7bd8905b118cfc0bb0835cf37726 (patch) | |
tree | 3cd105e4d704211e075cefadd4fb0429dcbe14d7 | |
parent | Declare EAPI before you inherit something! (diff) | |
download | ebuildgen-724a5a4c1a5b7bd8905b118cfc0bb0835cf37726.tar.gz ebuildgen-724a5a4c1a5b7bd8905b118cfc0bb0835cf37726.tar.bz2 ebuildgen-724a5a4c1a5b7bd8905b118cfc0bb0835cf37726.zip |
Forgot to rename .dir to .url
-rwxr-xr-x | ebuildgen/cli.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ebuildgen/cli.py b/ebuildgen/cli.py index 6457853..3c456a5 100755 --- a/ebuildgen/cli.py +++ b/ebuildgen/cli.py @@ -33,24 +33,24 @@ def cli(): args = parser.parse_args() - #print(args.dir) + #print(args.url) #print(args.types) #inclst is a list of includes. First in it is global then local. if args.svn: - getsourcecode(args.dir,"svn") + getsourcecode(args.url,"svn") srcdir = "/tmp/ebuildgen/curproj" dltype = "svn" elif args.git: - getsourcecode(args.dir,"git") + getsourcecode(args.url,"git") srcdir = "/tmp/ebuildgen/curproj" dltype = "git" elif args.hg: - getsourcecode(args.dir,"hg") + getsourcecode(args.url,"hg") srcdir = "/tmp/ebuildgen/curproj" dltype = "hg" else: - srcdir = args.dir + srcdir = args.url dltype = "www" (iuse,inclst,useargs) = scanfiles.scanproject(srcdir,"autotools") @@ -84,7 +84,7 @@ def cli(): #print(usedeps) #print(iuse) - ebuildoutput.genebuild(iuse,gpackages,usedeps,dltype,args.dir,targets,binaries) + ebuildoutput.genebuild(iuse,gpackages,usedeps,dltype,args.url,targets,binaries) if args.ginc == args.linc == args.ifdef == args.quiet == False: print(inclst) |