Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (728df3c6895faca574975fc21c7b314a4d360dfb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Julien ROZO <julien AT rozo.org>
  • To: Jaka Kranjc <smgl AT lynxlynx.info>
  • Cc: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master z-rejected grimoire by Julien ROZO (728df3c6895faca574975fc21c7b314a4d360dfb)
  • Date: Wed, 10 Sep 2008 09:14:44 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jaka Kranjc a écrit :
> On Tuesday 09 of September 2008 23:34:43 Julien ROZO wrote:
>> + message "${MESSAGE_COLOR}Creating link for $LINK${DEFAULT_COLOR}"
>> && + rm -f $INSTALL_ROOT/usr/bin/$LINK
>> && + ln -s
>> $TRACK_ROOT/opt/openoffice/program/$LINK /usr/bin/$LINK done
>
>
>> + message "${MESSAGE_COLOR}Creating link for $LINK${DEFAULT_COLOR}"
>> + rm -f ${INSTALL_ROOT}/usr/bin/$LINK
>> + ln -s $TRACK_ROOT/opt/openoffice.org3/program/$LINK /usr/bin/$LINK

> Why not just use ln -fs? Now you're possibly deleting a different file than
> the one you will be installing.

Huum... I'm not sure to understand what the problem is : ln -fs will
overwrite any existing file which has the same name as the created
symlink. It's more or less equivalent to rm the previous file then
create the new symlink, isn't it ?
Maybe you talk about a missing $INSTALL_ROOT at the end of the ln line ?
I've just seen it while answering your email.


Maybe the INSTALL script has to be fixed with ln -fs and INSTALL_ROOT in
both openoffice2-bin and openoffice3-bin ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJIx3PkAAoJEJuXOITO/v5tbvsH/1H2XF/+DYAqOy9Ngee/rktM
9YVrxypHSbzEbN3TmgFeQi+qumyG/u/XoMsv4EE/jx4yC6UlKZvepxx/LCsXvPBs
YTDsk46W+uTCTj/rmUiRLCWXmX4TXY0pCE9MVQf9fHM24h8fTQZL6+HkNevyqbzu
oDu9MzEtmgEkMqb2+kjCsUTVGT/oDFYMfPRf/0wZLrLWMegTb6tkHG19a60SVmNw
/juvv2e9CFmWG8z0Xut8OogdtdoNrphS0Tf9M5dY00pKhIG1S+PqK9lAWixr6GZC
KjGzTsKS8o3ffsfx476UeDmQugdZhJmJqLLqx0YIxD+u6M4c+1EfJ1xBq4i/1to=
=fHC+
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page