Skip to content

Commit

Permalink
expand user paths so ~ works; fixes mapbox#39
Browse files Browse the repository at this point in the history
  • Loading branch information
llimllib committed Mar 1, 2012
1 parent 76013d6 commit 03df2f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
from json import loads, dumps
from glob import glob
from shutil import rmtree
from os.path import join, isdir
from os.path import join, isdir, expanduser
from collections import defaultdict

from configure import config
from lib.utils import copy_tree

config["path"] = expanduser(config["path"])

def clean():
if isdir("build"):
rmtree("build")
Expand Down

0 comments on commit 03df2f0

Please sign in to comment.