Megatest

Diff
Login

Differences From Artifact [5c57dfa7d1]:

To Artifact [a9a7628aaa]:


16
17
18
19
20
21
22
23
24
25
26
27
28



__EOF
) > $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











|
|
|
|
|
|
>
>
>
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
__EOF
) > $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
echo "#!/bin/bash" > $target
echo "lsbr=\$(lsb_release -sr)" >> $target
echo "if [[ -e \$lsbr ]];then source \$lsbr;fi" >> $target
echo "exec $prefix/bin/.\$lsbr/$cmd \"\$@\"" >> $target