[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41026: Use a relative target_dir in upload_sha256sums
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Wed Nov 29 16:35:55 UTC 2023
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/~[% c("var/tpo_user") %]/builds/$browser/$channel/$version/"
\ No newline at end of file
+echo "Synced sha256sums to https://people.torproject.org/~[% c("var/tpo_user") %]/builds/$browser/$channel/$version/"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/95fcf1388a6e8f6d5ce8a9bacf854c1d5bd972d0
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/95fcf1388a6e8f6d5ce8a9bacf854c1d5bd972d0
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20231129/7b776c48/attachment-0001.htm>
More information about the tor-commits
mailing list