2015-12-22 11:25:25 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-04-15 16:46:58 +00:00
|
|
|
# Apply diffs to build for squeeze
|
2015-12-22 11:25:25 +00:00
|
|
|
|
|
|
|
# DON'T COMMIT ANYTHING AFTER launching this
|
2018-04-15 16:28:09 +00:00
|
|
|
# reset your repos back to the serverside one!
|
2015-12-22 11:25:25 +00:00
|
|
|
|
2018-04-15 16:28:09 +00:00
|
|
|
# The patch files were generated by running
|
2018-04-15 16:42:26 +00:00
|
|
|
# export REV_NEW=ebb3471f04d49dd839237608bafc396e8b5090e5; export REV_OLD=d6d9be4c6a751279c9ad2a9b50aeb5d3ff1f91f9; \
|
2018-04-15 16:28:09 +00:00
|
|
|
# for i in `git diff --name-only $REV_NEW $REV_OLD` ; do BASE_NAME=`echo $i | rev | cut -d '/' -f 1 | rev` ; \
|
|
|
|
# git diff -p $REV_NEW $REV_OLD -- "$i" > jessie/$BASE_NAME ; done
|
2015-12-22 11:25:25 +00:00
|
|
|
|
2018-04-15 16:28:09 +00:00
|
|
|
DIR_NAME=`dirname $0`
|
|
|
|
cd "$DIR_NAME"/../
|
2015-12-22 11:25:25 +00:00
|
|
|
|
2018-04-15 16:28:09 +00:00
|
|
|
for i in `ls "$DIR_NAME"`; do
|
|
|
|
patch -p1 < "$DIR_NAME/$i"
|
|
|
|
done
|