Commit 16bd4451 authored by Morten Brekkevold's avatar Morten Brekkevold

clean up kindnavsyncdiff to work a bit more portably

parent 8ccc405f
cd "$(dirname $0)"
python ./ 2> .after
#!/bin/bash -e
# Runs, but only prints its output when it's different from the
# last run.
MYDIR="$(realpath $(dirname $0))"
mkdir -p "$DIFFDIR"
python3 "$MYDIR/" 2> .after
if [ -f .before ]; then
if ! diff -q .before .after >/dev/null; then
cat .after
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment