mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-01 19:27:11 +03:00
dfe50dcee4
intersection, which usually gets treated like a stop sign, and has reasonable geometry
22 lines
417 B
Bash
Executable File
22 lines
417 B
Bash
Executable File
#!/bin/bash
|
|
|
|
before=$1;
|
|
after=$2;
|
|
|
|
rm -rf diff
|
|
mkdir diff
|
|
|
|
for file in `ls $before | grep -v full.png | grep -v combine.sh`; do
|
|
diff $before/$file $after/$file;
|
|
if [ $? -eq 1 ]; then
|
|
compare $before/$file $after/$file diff/$file;
|
|
if [ "$3" == "-i" ]; then
|
|
feh diff/$file $before/$file $after/$file;
|
|
# Handle interrupts by killing the script entirely
|
|
if [ $? -ne 0 ]; then
|
|
exit;
|
|
fi
|
|
fi
|
|
fi
|
|
done
|