diff --git a/utils/build/testnet_linux_cli.sh b/utils/build/testnet_linux_cli.sh index be2960fd0..114f1da67 100755 --- a/utils/build/testnet_linux_cli.sh +++ b/utils/build/testnet_linux_cli.sh @@ -54,7 +54,8 @@ chmod 0777 ./src/letheand src/simplewallet src/connectivity_tool package_filename=${ARCHIVE_NAME_PREFIX}.tar.bz2 rm -f ./$package_filename -tar -cjvf $package_filename Lethean +cd Lethean +tar -cjvf ../$package_filename * if [ $? -ne 0 ]; then echo "Failed to pack" exit 1 diff --git a/utils/build/testnet_mac_osx_cli.sh b/utils/build/testnet_mac_osx_cli.sh index 84cc7e812..27148d50b 100755 --- a/utils/build/testnet_mac_osx_cli.sh +++ b/utils/build/testnet_mac_osx_cli.sh @@ -47,7 +47,8 @@ cp -Rv src/letheand src/simplewallet src/connectivity_tool ./Lethean package_filename=${ARCHIVE_NAME_PREFIX}.tar.bz2 rm -f ./$package_filename -tar -cjvf $package_filename Lethean +cd Lethean +tar -cjvf ../$package_filename * if [ $? -ne 0 ]; then echo "Failed to pack" exit 1