Changeset 96d379 in git


Ignore:
Timestamp:
May 25, 1998, 3:04:54 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
de614790315407e7ef79dc75ff6bcb9b5e13f1fe
Parents:
74ec24ce8896da0a92121f4ba3c8abad240903ee
Message:
* hannes: fixed relative SPATH


git-svn-id: file:///usr/local/Singular/svn/trunk@1980 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/febase.cc

    r74ec24c r96d379  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: febase.cc,v 1.35 1998-04-28 13:12:09 Singular Exp $ */
     4/* $Id: febase.cc,v 1.36 1998-05-25 13:04:54 Singular Exp $ */
    55/*
    66* ABSTRACT: i/o system
     
    114114extern "C" char* find_executable(const char* argv0);
    115115
    116 #define SINGULAR_RELATIVE_DATA_DIR "LIB"
     116//#define SINGULAR_RELATIVE_DATA_DIR "LIB"
     117// Singular is      $ROOT/bin/Singular,
     118// look for libs in $ROOT/share/Singular/xx.lib:
     119#define SINGULAR_RELATIVE_DATA_DIR "../share/Singular"
    117120
    118121static char* SearchPath = NULL;
     
    169172#endif
    170173 
     174    if (env != NULL)
     175      plength = strlen(env) + 1;
     176
    171177    if (argv0 != NULL)
    172178      sibbling = feRemovePathnameHead(feGetExpandedExecutable(argv0));
    173179 
    174     if (env != NULL)
    175       plength = strlen(env) + 1;
    176 
    177180    if (sibbling != NULL)
    178181      plength += strlen(sibbling) + strlen(SINGULAR_RELATIVE_DATA_DIR) + 2;
Note: See TracChangeset for help on using the changeset viewer.