diff options
author | login <login@tilde.team> | 2019-11-15 21:40:29 -0500 |
---|---|---|
committer | login <login@tilde.team> | 2019-11-15 21:40:29 -0500 |
commit | fe25995df346c75661f2e657dcdd5aee8ea6d4a2 (patch) | |
tree | d3b7e1d427474e3111206affb4fb59ad57614a88 | |
parent | 3dfe89db4a2e19341d178197d5f805972c4d4e68 (diff) | |
download | tcoin-fe25995df346c75661f2e657dcdd5aee8ea6d4a2.tar.gz |
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.
-rwxr-xr-x | ntcoin | 6 |
1 files 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 |