From fe25995df346c75661f2e657dcdd5aee8ea6d4a2 Mon Sep 17 00:00:00 2001 From: login Date: Fri, 15 Nov 2019 21:40:29 -0500 Subject: Fixed symlinking bug in ntcoin regarding compile_(t/p)coin and edit_(t/p)coin Fixed a bug in ntcoin where the symlinks from tcoin/bin/compile_tcoin and tcoin/bin/edit_tcoin to ~/bin/compile_tcoin and ~/bin/edit_tcoin are made properly. The previous command did something else. --- ntcoin | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ntcoin b/ntcoin index 407a75f..02e0143 100755 --- a/ntcoin +++ b/ntcoin @@ -197,7 +197,8 @@ else '`which nano`' "'`/bin/pwd`'/tcoin.cpp"' > "`/usr/bin/realpath -s $1`/tcoin/bin/edit_tcoin" /bin/chmod 540 "`/usr/bin/realpath -s $1`/tcoin/bin/edit_tcoin" /bin/bash "`/usr/bin/realpath -s $1`/tcoin/bin/compile_tcoin" - /bin/ln -s "`/usr/bin/realpath -s $1`/tcoin/bin/tcoin" "`/usr/bin/realpath -s $1`/tcoin/bin/compile_tcoin" "`/usr/bin/realpath -s $1`/tcoin/bin/edit_tcoin" ~/bin + /bin/ln -s "`/usr/bin/realpath -s $1`/tcoin/bin/compile_tcoin" ~/"bin/compile_tcoin" + /bin/ln -s "`/usr/bin/realpath -s $1`/tcoin/bin/edit_tcoin" ~/"bin/edit_tcoin" fi if [ -e "`/usr/bin/realpath -s $1`/tcoin/bin/pcoin" ] then @@ -217,7 +218,8 @@ else '`which nano`' "'`/bin/pwd`'/pcoin.cpp"' > "`/usr/bin/realpath -s $1`/tcoin/bin/edit_pcoin" /bin/chmod 540 "`/usr/bin/realpath -s $1`/tcoin/bin/edit_pcoin" /bin/bash "`/usr/bin/realpath -s $1`/tcoin/bin/compile_pcoin" - /bin/ln -s "`/usr/bin/realpath -s $1`/tcoin/bin/pcoin" "`/usr/bin/realpath -s $1`/tcoin/bin/compile_pcoin" "`/usr/bin/realpath -s $1`/tcoin/bin/edit_pcoin" ~/bin + /bin/ln -s "`/usr/bin/realpath -s $1`/tcoin/bin/compile_pcoin" ~/"bin/compile_pcoin" + /bin/ln -s "`/usr/bin/realpath -s $1`/tcoin/bin/edit_pcoin" ~/"bin/edit_pcoin" fi fi fi -- cgit 1.4.1-2-gfad0