Signed-off-by: Miguel Flores Silverio <[email protected]>
---
 scripts/generate-git-snapshot.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/scripts/generate-git-snapshot.sh b/scripts/generate-git-snapshot.sh
index 3da20a1..594dc3e 100755
--- a/scripts/generate-git-snapshot.sh
+++ b/scripts/generate-git-snapshot.sh
@@ -1,7 +1,14 @@
 #!/bin/sh
-#
+# This scripts allows for the generation of git snapshot between the upstream 
git
+# and current Fedora Kernel.
 # Set LINUX_GIT to point to an upstream Linux git tree in your .bashrc or 
wherever.
 
+#Look to see if LINUX_GIT is set in local .bashrc
+if [ -f ~/.bashrc ] ;
+then
+    source ~/.bashrc
+fi
+
 [ ! -d "$LINUX_GIT" ] && echo "error: set \$LINUX_GIT to point at upstream git 
tree" && exit 1
 
 VER=$(grep patch sources | head -n1 | awk '{ print $2 }' | sed s/patch-// | 
sed s/-git.*// | sed s/.xz//)
-- 
2.7.4
_______________________________________________
kernel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to