Marc Collin wrote:
Good idea?
for i in *; do sed -i 's/anselm/$USER/g' "$i"; done
I've tried replacing with "$(ROOT)/../" and
"$USER", with the first it simply skips $(ROOT)
and starts with /../, with the second one
it skips $U and starts with SER; e.g.:
ACLOCAL = ${SHELL} /home/$USER/src/bin/kbd/config/missing --run
aclocal-1.11
ACLOCAL = ${SHELL} $(ROOT)/../src/bin/kbd/config/missing --run
aclocal-1.11
results in, respectively (when running make install):
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
/home/SER/src/bin/kbd/config/missing --run aclocal-1.11 -I m4
/bin/bash: /home/SER/src/bin/kbd/config/missing: No such file or
directory
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
/../src/bin/kbd/config/missing --run aclocal-1.11 -I m4
/bin/bash: /../src/bin/kbd/config/missing: No such file or directory