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

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41773: Change position of -mindepth in ddmg.sh.



Title: GitLab

Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 0906f5cf
    by Pier Angelo Vendrame at 2026-04-07T08:53:38+02:00
    Bug 41773: Change position of -mindepth in ddmg.sh.
    
    -mindepth is a global option, therefore it should go before -type.
    

2 changed files:

Changes:

  • projects/browser/ddmg.sh
    ... ... @@ -24,7 +24,7 @@ newfs_hfs -v "[% c('var/display_name') %]" "$hfsfile"
    24 24
     
    
    25 25
     pushd [% src %]
    
    26 26
     
    
    27
    -find -type d -mindepth 1 | sed -e 's/^\.\///' | sort | while read dirname; do
    
    27
    +find -mindepth 1 -type d | sed -e 's/^\.\///' | sort | while read dirname; do
    
    28 28
       hfsplus "$hfsfile" mkdir "/$dirname"
    
    29 29
       hfsplus "$hfsfile" chmod 0755 "/$dirname"
    
    30 30
     done
    

  • tools/signing/ddmg.sh
    ... ... @@ -45,7 +45,7 @@ cd $src_dir
    45 45
     # add it back again with the special command to do so.
    
    46 46
     rm -f Applications
    
    47 47
     
    
    48
    -find -type d -mindepth 1 | sed -e 's/^\.\///' | sort | while read dirname; do
    
    48
    +find -mindepth 1 -type d | sed -e 's/^\.\///' | sort | while read dirname; do
    
    49 49
       hfsplus "$hfsfile" mkdir "/$dirname"
    
    50 50
       hfsplus "$hfsfile" chmod 0755 "/$dirname"
    
    51 51
     done
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx