]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
scripts/quilt-mail: delete git tree that was built
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jul 2016 22:37:58 +0000 (07:37 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jul 2016 22:37:58 +0000 (07:37 +0900)
It seems to be working, so delete the temp tree, don't need it hanging
around anymore.

scripts/quilt-mail

index 420cc5383e062a885dcd7aaebc928c1e2395e31b..197790bb46756ec2b73bccdbd5a730c1068bd8e6 100755 (executable)
@@ -160,6 +160,10 @@ git merge -q temp_branch
 echo "git push --force gitolite@ra.kernel.org:/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-${ROOT_VERSION}.y"
 git push --force gitolite@ra.kernel.org:/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-${ROOT_VERSION}.y
 
+# clean up the git tree by deleting it
+cd ${ORIGINAL_DIR}
+rm -rf ${TMP_TREE}
 
+# announce what needs to be done
 echo "cd ${TMP_DIR}"
 echo "./send_it_off"