From fdc8d8448d286c2e79a956463cbd335765d388e2 Mon Sep 17 00:00:00 2001 From: Christoph Atteneder Date: Wed, 2 May 2018 18:39:11 +0200 Subject: [PATCH] Adapt linux path of VM --- package/linux/32bitBuild.sh | 3 ++- package/linux/64bitBuild.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package/linux/32bitBuild.sh b/package/linux/32bitBuild.sh index 9d65d75b83..d41ba74369 100644 --- a/package/linux/32bitBuild.sh +++ b/package/linux/32bitBuild.sh @@ -9,6 +9,7 @@ set -e version=0.7.0 dir="/media/sf_vm_shared_ubuntu14_32bit" +linux_user="bisq" # Note: fakeroot needs to be installed on linux $JAVA_HOME/bin/javapackager \ @@ -44,7 +45,7 @@ $JAVA_HOME/bin/javapackager \ # sudo alien -r -c -k deploy/bundles/bisq-$version.deb -cp "deploy/bundles/bisq-$version.deb" "/home/bitsquare/Desktop/Bisq-32bit-$version.deb" +cp "deploy/bundles/bisq-$version.deb" "/home/$bisq/Desktop/Bisq-32bit-$version.deb" mv "deploy/bundles/bisq-$version.deb" "/media/sf_vm_shared_ubuntu14_32bit/Bisq-32bit-$version.deb" # mv "bisq-$version-1.i386.rpm" "/media/sf_vm_shared_ubuntu14_32bit/Bisq-32bit-$version.rpm" diff --git a/package/linux/64bitBuild.sh b/package/linux/64bitBuild.sh index 9266671b77..79d57188c1 100644 --- a/package/linux/64bitBuild.sh +++ b/package/linux/64bitBuild.sh @@ -9,6 +9,7 @@ set -e version=0.7.0 dir="/media/sf_vm_shared_ubuntu" +linux_user="bisq" # Note: fakeroot needs to be installed on linux $JAVA_HOME/bin/javapackager \ @@ -44,7 +45,7 @@ $JAVA_HOME/bin/javapackager \ # uncomment because the build VM does not support alien #sudo alien -r -c -k deploy/bundles/bisq-$version.deb -cp "deploy/bundles/bisq-$version.deb" "/home/mk/Desktop/Bisq-64bit-$version.deb" +cp "deploy/bundles/bisq-$version.deb" "/home/$linux_user/Desktop/Bisq-64bit-$version.deb" mv "deploy/bundles/bisq-$version.deb" "/media/sf_vm_shared_ubuntu/Bisq-64bit-$version.deb" #mv "bisq-$version-1.x86_64.rpm" "/media/sf_vm_shared_ubuntu/Bisq-64bit-$version.rpm" rm -r deploy/