mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 05:14:18 +08:00
Make it possible to compare with source tarball
This commit is contained in:
parent
e6071db0a1
commit
943fe8ae8c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user