From 724a5a4c1a5b7bd8905b118cfc0bb0835cf37726 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Mon, 15 Aug 2011 19:53:29 +0200 Subject: Forgot to rename .dir to .url --- ebuildgen/cli.py | 12 ++++++------ 1 file 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) -- cgit v1.2.3-65-gdbad