3 ms·
From the README: https://github.com/holzschu/ios_system/blob/master/README.md https://github.com/holzschu/ios_system/blob/master/README.md Issues: In iOS, you
by pjot 6y ago
From the README: https://github.com/holzschu/ios_system/blob/master/README.md https://github.com/holzschu/ios_system/blob/master/README.md
Issues: In iOS, you cannot write in the ~ directory, only in ~/Documents/, ~/Library/ and ~/tmp. Most Unix programs assume the configuration files are in $HOME. So either you redefine $HOME to ~/Documents/ or you set configuration variables (using setenv) to some other place. This is done in the initializeEnvironment() function.
Here's what I have:
setenv PATH = $PATH:~/Library/bin:~/Documents/bin
setenv PYTHONHOME = $HOME/Library/
setenv SSH_HOME = $HOME/Documents/
setenv CURL_HOME = $HOME/Documents/
setenv HGRCPATH = $HOME/Documents/.hgrc/
setenv SSL_CERT_FILE = $HOME/Documents/cacert.pem
Your Mileage May Vary. Note that iOS already defines $HOME and $PATH.