Merge "Expand ~ to user's home directory for --reference"
This commit is contained in:
commit
25f17682ca
1 changed files with 4 additions and 0 deletions
|
@ -317,6 +317,10 @@ to update the working directory files.
|
||||||
|
|
||||||
def Execute(self, opt, args):
|
def Execute(self, opt, args):
|
||||||
git_require(MIN_GIT_VERSION, fail=True)
|
git_require(MIN_GIT_VERSION, fail=True)
|
||||||
|
|
||||||
|
if opt.reference:
|
||||||
|
opt.reference = os.path.expanduser(opt.reference)
|
||||||
|
|
||||||
self._SyncManifest(opt)
|
self._SyncManifest(opt)
|
||||||
self._LinkManifest(opt.manifest_name)
|
self._LinkManifest(opt.manifest_name)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue