2022-09-09 22:05:02 +00:00
|
|
|
#!/bin/sh
|
2020-06-12 19:33:58 +00:00
|
|
|
cd /opt
|
|
|
|
git clone git://github.com/sickill/stderred.git
|
2020-06-21 14:20:30 +00:00
|
|
|
cd stderred
|
2020-06-12 19:33:58 +00:00
|
|
|
make
|
2022-09-09 22:05:02 +00:00
|
|
|
case "$LD_PRELOAD" in (*libstderred.so*) ;;
|
|
|
|
(*) echo 'export LD_PRELOAD="/opt/stderred/build/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"'>>$HOME/.zprofile;; esac
|