Ticket #13389: lie.diff

File lie.diff, 806 bytes (added by kini, 9 years ago)

diff of latest commit in SPKG, for review purposes

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    5151
    5252== Changelog ==
    5353
     54=== lie-2.2.2.p5 (Keshav Kini, 2012-08-23) ===
     55 * Make usage of `mv` and `sed` more portable
     56
    5457=== lie-2.2.2.p4 (Keshav Kini, 2012-05-24) ===
    5558 * Commit changes to package repo
    5659 * Track all non-upstream files
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    2222
    2323# relocating
    2424cd ..
    25 sed -i -e "s'$PWD/src'$SAGE_LOCAL/lib/LiE'" src/lie
     25sed -e "s'$PWD/src'$SAGE_LOCAL/lib/LiE'" src/lie > src/lie~
     26mv src/lie~ src/lie
    2627rm -rf "$SAGE_LOCAL"/lib/lie # clean up old versions
    2728rm -rf "$SAGE_LOCAL"/bin/lie "$SAGE_LOCAL"/lib/LiE
    28 mv src/lie -t "$SAGE_LOCAL"/bin/
    29 mv src/ -T "$SAGE_LOCAL"/lib/LiE
     29mv src/lie "$SAGE_LOCAL"/bin/
     30mv src/ "$SAGE_LOCAL"/lib/LiE