diff options
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/build-freebsd-ports.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/build-freebsd-ports.py b/buildtools/build-freebsd-ports.py index c653e5cf..17ee2abe 100644 --- a/buildtools/build-freebsd-ports.py +++ b/buildtools/build-freebsd-ports.py @@ -83,6 +83,8 @@ shutil.copytree(os.path.join(args.svndir, "buildtools", "freebsd-skeleton"), arg if args.local_dist: subprocess.check_call(("svn", "export", args.svndir, os.path.join(args.portsdir, tarname))) + with open(os.path.join(args.portsdir, tarname, "VERSION"), "w") as f: + f.write(version + "\n") subprocess.check_call(("tar", "cJvvf", tarball, tarname), cwd = args.portsdir) shutil.rmtree(os.path.join(args.portsdir, tarname)) elif os.path.exists(os.path.join(portsdir_old, tarball)): |