richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
-
02f786b2
by Nicolas Vigier at 2024-02-29T12:41:41+00:00
1 changed file:
Changes:
... | ... | @@ -46,8 +46,8 @@ test -f "$osslsigncode_file" || |
46 | 46 | which rename > /dev/null 2>&1 ||
|
47 | 47 | exit_error '`rename` is missing.'
|
48 | 48 | |
49 | -tmp_dir="$signed_dir/$tbb_version/tmp-timestamp"
|
|
50 | -mkdir "$tmp_dir"
|
|
49 | +tmp_dir=$(mktemp -d)
|
|
50 | +trap "rm -Rf $tmp_dir" EXIT
|
|
51 | 51 | tar -C "$tmp_dir" -xf "$osslsigncode_file"
|
52 | 52 | export PATH="$PATH:$tmp_dir/osslsigncode/bin"
|
53 | 53 | |
... | ... | @@ -64,5 +64,3 @@ do |
64 | 64 | done
|
65 | 65 | echo "Timestamped $COUNT .exe files, now renaming"
|
66 | 66 | rename -f 's/-timestamped//' *-timestamped |
67 | - |
|
68 | -rm -Rf "$tmp_dir" |