Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 405 Bytes
#!/bin/bash
PWD=`pwd`
TREE=`basename ${PWD}`
git fp ${TREE}-linus && \
../added-to-${TREE} 0*.patch && \
git checkout ${TREE}-linus && \
git merge work
# if something goes wrong, exit
if [ $? -ne 0 ] ; then
exit
fi
# Only push if we have a network connection
NM_STATUS=`nmcli -terse -f state nm`
if [ "$NM_STATUS" = "connected" ] ; then
git push kroah.com && git push
fi
git checkout work
Something went wrong with that request. Please try again.