2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00
Files
build/scripts/to_merge.sh
Alan Somers fd486f7acd Fix bash paths in shebangs
"/bin/bash" is a Linuxism.  "/usr/bin/env bash" is portable.
2017-07-26 11:08:00 -06:00

17 lines
395 B
Bash
Executable File

#!/usr/bin/env bash
for python in build/*.py; do
jam="${python%.py}.jam"
if [ -f "$jam" ]; then
line=`grep "Base revision" $python`
revision=`echo $line | sed 's/# Base revision: \([0-9]*\).*/\1/'`
if [ -e "$revision" ] ; then
echo "No base version for $python" >&2
else
svn diff -r $revision:HEAD "$jam"
fi
fi
done