17
18
19
20
21
22
23
24
25
26
|
) > $cfgfile
echo
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
|
>
|
>
|
17
18
19
20
21
22
23
24
25
26
27
28
|
) > $cfgfile
echo
else
echo "INFO: LD_LIBRARY_PATH not set" >&2
fi
echo "#!/bin/bash" > $target
if [ "$LD_LIBRARY_PATH" != "" ];then
echo "source $prefix/bin/.\$(lsb_release -sr)/cfg.sh" >> $target
fi
echo "exec $prefix/bin/.\$(lsb_release -sr)/$cmd \"\$@\"" >> $target
|