Skip to content

Commit

Permalink
try sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
critesjosh committed Dec 19, 2023
1 parent 475e2d6 commit 8554f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [ $? -eq 0 ]; then
# Check if the directory exists
if [ -d "$tmp_dir/$contracts_path/$name_value" ]; then
echo "Directory found: $name_value"
cp -r $tmp_dir/$contracts_path/$name_value/src/ $copy_location/
sudo cp -r $tmp_dir/$contracts_path/$name_value/src/ $copy_location/
rm -rf $tmp_dir
echo "Copied the contracts to $copy_location"
# You can add additional commands here to handle the directory
Expand Down

0 comments on commit 8554f20

Please sign in to comment.