On 06/13/2016 07:42 PM, Miguel Flores Silverio wrote:
Signed-off-by: Miguel Flores Silverio <[email protected]>
Looks good to me, one minor comment below:
---
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.
Can you fix the above comment to wrap at 80 chars?
+#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//)
_______________________________________________
kernel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]