Results 1 to 3 of 3

Thread: the file .bashrc

  1. #1

    Default the file .bashrc

    Hello everyone;
    I have a problem with a path I want to compile a *.cpp file that will have one path, here:
    ################################################## #################################
    // std::cout << "HEPFITPATH = " << getenv("HEPFITPATH") << std::endl;
    std::stringstream path;
    path << getenv("HEPFITPATH") << "/THDM/tabs/";
    std::string tablepath=path.str();

    ################################################## ################################"
    the folder I want patching ç'est:: /usr/local/hepfit/Packaging/HEPfit-core-1.0/THDM/tabs/
    my question is: can i put in .bashrc, the path eg in my .bashrc fihier ----> I put:
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    #
    #export PILOTPORT=/dev/pilot
    #export PILOTRATE=115200
    #export HEPFITPATH=/usr/local/hepfit
    export HEPFITPATH=' /usr/local/hepfit/Packaging/HEPfit-core-1.0
    '
    test -s ~/.alias && . ~/.alias || true
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    thank you in advance

  2. #2

    Default Re: the file .bashrc

    Hello,

    I think it will work better if you use this syntax with the " marks instead:

    export HEPFITPATH="/usr/local/hepfit/Packaging/HEPfit-core-1.0"

    Good luck,

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,586
    Blog Entries
    14

    Default Re: the file .bashrc

    Quote Originally Posted by crubel View Post
    Hello,

    I think it will work better if you use this syntax with the " marks instead:

    export HEPFITPATH="/usr/local/hepfit/Packaging/HEPfit-core-1.0"

    Good luck,
    Or, like the other statements in ~/.bashrc, do not use quotes at all.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •