howtos:how_to_compile_grass_on_slackware
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howtos:how_to_compile_grass_on_slackware [2026-04-09 12:31 am] – hcho | howtos:how_to_compile_grass_on_slackware [2026-04-09 12:33 am] (current) – hcho | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| # install pkgconfig config | # install pkgconfig config | ||
| - | mkdir -p ~/usr/ | + | mkdir -p ~/ |
| cd ../grass | cd ../grass | ||
| - | sed 's#/usr/ | + | sed ' |
| - | if ! echo $PKG_CONFIG_PATH | grep -q $HOME/usr/ | + | if ! echo $PKG_CONFIG_PATH | grep -q $HOME/ |
| - | echo ' | + | echo ' |
| . ~/ | . ~/ | ||
| fi | fi | ||
| # create grass script | # create grass script | ||
| - | mkdir ~/usr/ | + | mkdir ~/ |
| - | cat << ' | + | cat << ' |
| #!/bin/sh | #!/bin/sh | ||
| - | grass_master=" | + | grass_master=" |
| # workaround to avoid the annoying ~/ | # workaround to avoid the annoying ~/ | ||
| if [ $# -eq 0 ]; then | if [ $# -eq 0 ]; then | ||
| Line 61: | Line 61: | ||
| fi | fi | ||
| EOT | EOT | ||
| - | chmod a+x ~/usr/ | + | chmod a+x ~/ |
| - | if ! echo $PATH | grep -q $HOME/usr/local/bin; then | + | if ! echo $PATH | grep -q $HOME/ |
| - | echo ' | + | echo ' |
| . ~/ | . ~/ | ||
| fi | fi | ||
| </ | </ | ||
howtos/how_to_compile_grass_on_slackware.1775716314.txt.gz · Last modified: by hcho
