Files
metasploit-gs/dev/merge.sh
T
HD Moore 1527d92154 Correct offset typos in the new iphone modules. Add EXE output support for OS X PPC, Linux x86, and make the OS X ARM smaller.
git-svn-id: file:///home/svn/framework3/trunk@5119 4d416f70-5f16-0410-b530-b9f4589650da
2007-09-25 01:50:05 +00:00

19 lines
475 B
Bash
Executable File

#!/bin/sh
export DEV=/projects/metasploit/framework3/trunk/
export SBL=/projects/metasploit/framework3/tags/framework-3.0/
export FIL=$1
echo "[*] Gathering svn information..."
TMP=`tempfile mergeXXXXXXX`
svn log --limit 1 "${DEV}${FIL}" | egrep -v '^r[0-9]+|^--|^$' > $TMP
echo "[*] Copying file ${FIL}..."
cp ${DEV}${FIL} ${SBL}${FIL}
echo "[*] Merging file ${FIL}..."
svn add ${SBL}${FIL} >/dev/null 2>&1
svn commit --non-interactive -F $TMP ${SBL}${FIL}
rm -f $TMP