From 5832f93b7863196bc9cd57eb8f6c221da92ba611 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 7 Dec 2014 02:06:18 -0800 Subject: [PATCH] do not delete btc tree. --- build-libbitcoind.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build-libbitcoind.sh b/build-libbitcoind.sh index 2d0e3714..41e9acb2 100755 --- a/build-libbitcoind.sh +++ b/build-libbitcoind.sh @@ -68,10 +68,7 @@ echo 'make' make || exit 1 echo 'Copying libbitcoind.so to its appropriate location.' -cp src/libbitcoind.so "${os_dir}/libbitcoind.so" || exit 1 - -cd "$cur_dir" -rm -rf libbitcoind +mv src/libbitcoind.so "${os_dir}/libbitcoind.so" || exit 1 echo 'Build finished successfully.' exit 0