From 943fe8ae8c99250b2ee0ffe2f4dc9edfe782e328 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Sat, 22 Jul 2017 13:39:29 -0600 Subject: [PATCH] Make it possible to compare with source tarball --- status.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/status.sh b/status.sh index ff5aaa477..21abe8fa1 100755 --- a/status.sh +++ b/status.sh @@ -16,7 +16,11 @@ do if [ -d "recipes/$recipe/source/.git" ] then git -C "recipes/$recipe/source" status + elif [ -e "recipes/$recipe/source.tar" ] + then + echo "Using source tarball" + tar --compare --file="recipes/$recipe/source.tar" -C "recipes/$recipe/source" --strip-components=1 2>&1| grep -v "tar: :" | grep -v '\(Mode\|Gid\|Uid\) differs' || true else - echo "Not a git repository" + echo "No original source found" fi done -- GitLab