;ò FõšBc@sîdkZdkZdkZdkZdklZlZlZdkTdkTdk l Z dk Z dk l Z dk l Z dklZdkTdklZdkZhad„Zd „Zd „Zd d d „Zed „Zd„ZdS(N(sWorks set_defaultssgetwork(s*(sadd_cmdline_settings(sParsePos(sProcess(sRecPos(slist2strcCs-tii|ƒ\}}t||ƒ|SdS(sô When the directory of the recipe "name" is not the current directory, print the name of the directory and make it the current one. "name" must be an absolute path name. Return the recipe name relative to the new directory. N(sosspathssplitsnamesdirpathstailsgoto_dirsrecdict(srecdictsnamestailsdirpath((s+/mnt/gmirror/ports/devel/aap/work/DoRead.pys recipe_dirs cCsJdkl}x6|tii|dƒƒD]}tg||dƒq)WdS(s8Check directory "dirname" for recipes and read them all.(sglobs*.aapiN(sglobsosspathsjoinsdirnamesfs read_recipesrecdict(srecdictsdirnamesfsglob((s+/mnt/gmirror/ports/devel/aap/work/DoRead.pysread_recipe_dir(s  cCs|iit|ƒƒSdS(s9 Return True if recipe "sname" was already read. N(sworksrecipe_already_readsgets full_fnamessname(sworkssname((s+/mnt/gmirror/ports/devel/aap/work/DoRead.pysdid_read_recipe/sic Cst|ƒ}| o ti|ƒot|tdƒ|ƒn?dt |ƒi |