From 7faab4d6177321cb8aba29111795e7111e8ec5ba Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Fri, 20 Dec 2013 15:53:29 -0700 Subject: [PATCH] Fix PR14216 --- racket/collects/pkg/lib.rkt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/racket/collects/pkg/lib.rkt b/racket/collects/pkg/lib.rkt index c82d7c8a78..9b811786d3 100644 --- a/racket/collects/pkg/lib.rkt +++ b/racket/collects/pkg/lib.rkt @@ -2095,7 +2095,7 @@ (lambda (m) (match-define (pkg-info orig-pkg checksum auto?) m) (match orig-pkg - [`(,(or 'link 'static-link) ,_) + [`(,(or 'link 'static-link) ,orig-pkg-dir) (if must-update? (pkg-error (~a "cannot update linked packages~a\n" " package name: ~a\n" @@ -2104,7 +2104,8 @@ " without `--link'" " without new link") pkg-name - orig-pkg) + (normalize-path + (path->complete-path orig-pkg-dir (pkg-installed-dir)))) null)] [`(dir ,_) (if must-update?