Skip to content

Commit

Permalink
verify.sh exit0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuoxuan-Zhang committed Oct 31, 2024
1 parent 14f28fb commit 16945ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oneliners/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi

if [[ "$@" == *"--generate"* ]]; then
# Directory to iterate over
directory="outputs/bash"
directory="outputs"

# Loop through all .out files in the directory
for file in "$directory"/*.out
Expand All @@ -32,6 +32,8 @@ if [[ "$@" == *"--generate"* ]]; then
# Print the filename and hash
echo "$hash_folder/$filename.hash $hash"
done

exit 0
fi

# Loop through all directories in the parent directory
Expand All @@ -40,8 +42,6 @@ do
# Remove trailing slash
folder=${folder%/}

# echo "Verifying folder: $folder"

# Loop through all .out files in the current directory
for file in "$folder"/*.out
do
Expand Down

0 comments on commit 16945ae

Please sign in to comment.