Opened 11 years ago

Closed 11 years ago

#398 closed enhancement (fixed)

make ccl script look at $0

Reported by: rme Owned by:
Priority: normal Milestone:
Component: other Version: trunk
Keywords: Cc:

Description

(from openmcl-devel)

the attached patch makes the ccl shell script look at $0, resolve symlinks if there are any, and tries to use this path as CCL_DEFAULT_DIRECTORY.

This lets user simply symlink scripts/ccl to ~/bin.

Also it makes it possible to conveniently have multiple ccl installation coexist; the user symlinks "ccl-1.2", "ccl-svn" &c to the appropriate directories.

Attachments (1)

ccl.diff (964 bytes) - added by rme 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by rme

comment:1 Changed 11 years ago by rme

I'm concerned that this may be making the ccl script a little too smart for its own good, but maybe I should go sit on the porch and yell at the kids on my lawn.

comment:2 Changed 11 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed

Committed in r11621.

Note: See TracTickets for help on using tickets.