Files
appimage.github.io/code/travis.sh
T
2017-08-06 18:44:35 +02:00

11 lines
263 B
Bash

#!/bin/bash
# Find out which files in data/ have been changed in the last commit
FILES=$(git log -p -1 data/ | grep +++ | cut -d '/' -f 2-)
# Work on thes files that have been changed in the last commit
for FILE in $FILES ; do
echo "$FILE"
cat "$FILE"
done