diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-23 18:59:33 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-23 18:59:33 +0200 |
commit | b1f663479d81e7904b74084c9944deda843b7743 (patch) | |
tree | 644c1ee00273c096026b40cae12ba034ee6e57b0 | |
parent | 0e12ec609678661ca1b3ca9c787429094d80196b (diff) | |
download | woocommerce-taler-b1f663479d81e7904b74084c9944deda843b7743.tar.gz woocommerce-taler-b1f663479d81e7904b74084c9944deda843b7743.tar.bz2 woocommerce-taler-b1f663479d81e7904b74084c9944deda843b7743.zip |
fix path
-rwxr-xr-x | server-build/QEMU-autobuild/buildWebstore.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server-build/QEMU-autobuild/buildWebstore.sh b/server-build/QEMU-autobuild/buildWebstore.sh index 00823d3..acf2993 100755 --- a/server-build/QEMU-autobuild/buildWebstore.sh +++ b/server-build/QEMU-autobuild/buildWebstore.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +ORIGIN=`pwd` + echo echo '## Downloading wp-cli' @@ -92,9 +94,8 @@ echo echo '## Checkout, copy to WP, and activate GNU-Taler-Payment-Gateway' # Put the plugin in WP -cp -r woocommerce-taler/plugin/GNU-Taler-Payment-Gateway /var/www/wordpress/wp-content/plugins -# Get back to the WordPress site: -cd /var/www/wordpress +cp -r ${ORIGIN}/woocommerce-taler/plugin/GNU-Taler-Payment-Gateway /var/www/wordpress/wp-content/plugins + # Activate GNU-Taler-Payment-Gateway sudo -u www-data wp plugin activate GNU-Taler-Payment-Gateway |