[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41026: Use a relative target_dir in upload_sha256sums



Title: GitLab

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:

Changes:

  • projects/release/upload_sha256sums
    ... ... @@ -8,7 +8,7 @@ browser=[% c("var/browser_type") %]
    8 8
     
    
    9 9
     src_dir=[% shell_quote(path(dest_dir)) %]/$signed/$version
    
    10 10
     
    
    11
    -target_dir=~/public_html/builds/$browser/$channel/$version/
    
    11
    +target_dir=public_html/builds/$browser/$channel/$version/
    
    12 12
     
    
    13 13
     echo "browser:$browser channel:$channel signed:$signed version:$version"
    
    14 14
     
    
    ... ... @@ -31,4 +31,4 @@ fi
    31 31
     
    
    32 32
     ssh [% c("var/tpo_user") %]@people.torproject.org "mkdir -p $target_dir"
    
    33 33
     rsync sha256sums*.* [% c("var/tpo_user") %]@people.torproject.org:$target_dir
    
    34
    -echo "Synced sha256sums to https://people.torproject.org/~[% c("var/tpo_user") %]/builds/$browser/$channel/$version/"
    \ No newline at end of file
    34
    +echo "Synced sha256sums to https://people.torproject.org/~[% c("var/tpo_user") %]/builds/$browser/$channel/$version/"

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits