File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,13 @@ set -u -e
6
6
cp target/" $TARGET " /release/rustup-init target/" $TARGET " /release/rustup-setup
7
7
8
8
# Generate hashes
9
+ pushd target/" $TARGET " /release/
9
10
if [ " $( uname -s) " = " Darwin" ]; then
10
- find target/ " $TARGET " /release/ -maxdepth 1 -type f -exec sh -c ' fn="$1"; shasum -a 256 -b "$fn" > "$fn".sha256' sh {} \;
11
+ find . -maxdepth 1 -type f -exec sh -c ' fn="$1"; shasum -a 256 -b "$fn" > "$fn".sha256' sh {} \;
11
12
else
12
- find target/ " $TARGET " /release/ -maxdepth 1 -type f -exec sh -c ' fn="$1"; sha256sum -b "$fn" > "$fn".sha256' sh {} \;
13
+ find . -maxdepth 1 -type f -exec sh -c ' fn="$1"; sha256sum -b "$fn" > "$fn".sha256' sh {} \;
13
14
fi
15
+ popd
14
16
15
17
# The directory for deployment artifacts
16
18
dest=" deploy"
You can’t perform that action at this time.
0 commit comments