Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits: 95fcf138 by Pier Angelo Vendrame at 2023-11-29T17:35:44+01:00 Bug 41026: Use a relative target_dir in upload_sha256sums
~/ is expanded by the shell issuing the command, so it results in the local home directory, not the remote one. However, since we are using a path that is relative to the home, we can simply use a relative one.
- - - - -
1 changed file:
- projects/release/upload_sha256sums
Changes:
===================================== projects/release/upload_sha256sums ===================================== @@ -8,7 +8,7 @@ browser=[% c("var/browser_type") %]
src_dir=[% shell_quote(path(dest_dir)) %]/$signed/$version
-target_dir=~/public_html/builds/$browser/$channel/$version/ +target_dir=public_html/builds/$browser/$channel/$version/
echo "browser:$browser channel:$channel signed:$signed version:$version"
@@ -31,4 +31,4 @@ fi
ssh [% c("var/tpo_user") %]@people.torproject.org "mkdir -p $target_dir" rsync sha256sums*.* [% c("var/tpo_user") %]@people.torproject.org:$target_dir -echo "Synced sha256sums to https://people.torproject.org/~%5B% c("var/tpo_user") %]/builds/$browser/$channel/$version/" \ No newline at end of file +echo "Synced sha256sums to https://people.torproject.org/~%5B% c("var/tpo_user") %]/builds/$browser/$channel/$version/"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/95...
tbb-commits@lists.torproject.org