howtos:how_to_compile_grass_on_slackware
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| howtos:how_to_compile_grass_on_slackware [2026-04-09 12:32 am] – hcho | howtos:how_to_compile_grass_on_slackware [2026-04-09 12:33 am] (current) – hcho | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| mkdir -p ~/ | 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 | ||
| Line 46: | Line 46: | ||
| 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 62: | Line 62: | ||
| EOT | EOT | ||
| chmod a+x ~/ | 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.1775716358.txt.gz · Last modified: by hcho
