Dear All,

While waiting for advice on the questions on the thread "Copy&Paste"

"""
BTW, is symlink a solution for "Copy & Paste"?
By another way, are there reasons that "Copy & Paste & Symlinks" is better 
than just symlinks.
"""

This is not meant "to look  a gift horse in the mouth", but  "straight from 
the horse's mouth", some advice were found (and appended below) and they 
beg the questions:

1/- Why "Copy&Passte&Symlink" was used instead of "Refactor&Source"? There 
are of course good reasons for this, it is believed.
2/- What "deserves to be factored out at some point in the future"? The 
"resolvelinks" function or the scripts, "sage/src/bin/sage-env", 
"sage/sage" and "sage/src/bin/sage"? 
3/- When will that "point in the future" come? If "the future" is now, how 
can these be best done? or just "que serĂ¡, serĂ¡"

Just curious minds wish to learn.

Thank you for your advice.

Regards,

phiho

<src/bin/sage-env>
###########################################################################
#
#  Set environment variables for building and/or running Sage.
#
#  NOTES:
#  - You must *source* this script instead of executing.
#  - Use "return" instead of "exit" to signal a failure.  Since this
#    file is sourced, an "exit" here will actually exit src/bin/sage,
#    which is probably not intended.
#  - All environment variables set here should be *exported*, otherwise
#    they won't be available in child programs.
#  - This script has a version number such that a newer version of
#    sage-env can be sourced when upgrading.  See below.
#
#  If you want to set all environment variables for your shell like
#  they are during the build of Sage packages, type
#
#             . src/bin/sage-env
#
#  from the SAGE_ROOT directory.
#
#  AUTHORS: William Stein, David Kirkby, Jeroen Demeyer,
#           J. H. Palmieri, Leif Leonhardy and others.
#
##########################################################################
</src/bin/sage-env>

and

<sage/sage>
#
# WARNING: this function is copy/pasted from src/bin/sage-env, and
# deserves to be factored out at some point in the future. In the
# meantime however the two should be kept synchronized.
resolvelinks() {
....
....
</sage/sage>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/d923e355-3f93-4aa6-b8d5-28b6a0a1de60n%40googlegroups.com.

Reply via email to