Commit 53afd1b 1 parent 17d1a50 commit 53afd1b Copy full SHA for 53afd1b
File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
- # Setup a trap to clean up the temporary directory on EXIT
4
- cleanup () {
5
- echo " Cleaning up temporary directory."
6
- rm -rf " $temp_dir "
7
- }
8
- trap cleanup EXIT
9
-
10
3
# Copy the directory from the Nix store to a temporary location
11
4
temp_dir=$MOVEMENT_BASE_STORAGE_PATH /monza-aptos
12
- cp -R " $MONZA_APTOS_PATH " " $temp_dir "
13
- chmod -R 755 $temp_dir
14
5
15
6
# Change to the temporary directory
16
7
cd " $temp_dir "
Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ cargo build -p monza-full-node
10
10
11
11
# build aptos
12
12
WORKING_DIR=$( pwd)
13
- cd ./.movement/monza-aptos
13
+ temp_dir=$MOVEMENT_BASE_STORAGE_PATH /monza-aptos
14
+ cp -R " $MONZA_APTOS_PATH " " $temp_dir "
15
+ chmod -R 755 $temp_dir
16
+ cd $MOVEMENT_BASE_STORAGE_PATH /monza-aptos
14
17
cargo build -p aptos-faucet-service
15
18
cd $WORKING_DIR
16
19
You can’t perform that action at this time.
0 commit comments