Artifact 7459f2e14771798a3b280d85741e8eb39c2d1886:
- Executable file utils/mk_wrapper — part of check-in [09f7da3964] at 2014-03-24 22:17:01 on branch v1.55 — Fixed the arch specific install. (user: matt, size: 442) [annotate] [blame] [check-ins using] [more...]
#!/bin/bash prefix=$1 cmd=$2 target=$3 if [ "$LD_LIBRARY_PATH" != "" ];then echo "INFO: Using LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >&2 echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH" > $prefix/bin/.$(lsb_release -sr)/cfg.sh else echo "INFO: LD_LIBRARY_PATH not set" >&2 fi echo "#!/bin/bash" > $target echo "source $prefix/bin/.\$(lsb_release -sr)/cfg.sh" >> $target echo "exec $prefix/bin/.\$(lsb_release -sr)/$cmd \"\$@\"" >> $target