Re: ASDF-INSTALL:UNINSTALL doesn't remove .asd symlinks (Linux)
Gary King <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Here is a suggested patch for _part_ of the problem Paolo has found. the patch only handles the ASDF part of the issue, not the MK- DEFSYSTEM part. 757,766c667,669 < (system (asdf:find-system system)) < (dir (asdf::pathname-sans-name+type < (asdf::resolve-symlinks asd))) < (wild-source (make-pathname :directory (namestring dir) < :name :wild < :type "asd")) < (wild-target (make-pathname :name :wild < :type "asd" < :directory (directory- namestring asd))) < (systems (directory wild-source))) --- > (system (asdf:find-system system)) > (dir (asdf::pathname-sans-name+type > (asdf::resolve-symlinks asd)))) 768,770c671,673 < (y-or-n-p < "Delete system ~A~%asd file: ~A~%sources: ~A~%Are you sure?" < system asd dir)) --- > (y-or-n-p > "Delete system ~A~%asd file: ~A~%sources: ~A~%Are you sure?" > system asd dir)) 772,776c675,677 < (dolist (file systems) < (let ((link (translate-pathname file wild-source wild- target))) < (delete-file link))) < (asdf:run-shell-command "rm -r ~A" (namestring dir)))) < --- > (delete-file asd) > (asdf:run-shell-command "rm -r '~A'" (namestring (truename dir))))) > HTH, On Dec 18, 2005, at 5:22 AM, Paolo Amoroso wrote: > Paolo Amoroso <[email protected]> writes: > >> Paolo Amoroso <[email protected]> writes: >> >>> I have installed the latest CVS version of ASDF-INSTALL. When I >>> uninstall an application with ASDF-INSTALL:UNINSTALL the source >>> directory is removed correctly, but not the symlink in the systems >>> directory. My ~/.asdf-install contains: >> >> It looks like this happens only with CL-PPCRE. The removal of .asd >> files for other applications I have tried works correctly. > > More specifically, when there is more than one .asd file, only the one > with the application name is removed. CL-PPCRE, for example, comes > with the following .asd files: > > cl-ppcre-test.asd > cl-ppcre-test.system > cl-ppcre.asd > cl-ppcre.system > > and only cl-ppcre.asd is removed. > > > Paolo > -- > Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > cclan-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cclan-list -- Gary Warren King metabang.com http://www.metabang.com/
smime.p7s
(application/pkcs7-signature, 2.3 KB) - not displayed