Merge "Correctly get the age of tarballs through their symlink"
This commit is contained in:
commit
6a24db9dd0
@ -787,7 +787,7 @@ build_dir_srpm () {
|
|||||||
if [ "x$PATH_LIST" == "x" ]; then
|
if [ "x$PATH_LIST" == "x" ]; then
|
||||||
echo "0"
|
echo "0"
|
||||||
else
|
else
|
||||||
AGE2=$(find $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
AGE2=$(find -L $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
||||||
echo "$AGE2"
|
echo "$AGE2"
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
@ -1138,7 +1138,7 @@ build_dir_spec () {
|
|||||||
if [ "x$PATH_LIST" == "x" ]; then
|
if [ "x$PATH_LIST" == "x" ]; then
|
||||||
echo "0"
|
echo "0"
|
||||||
else
|
else
|
||||||
AGE2=$(find $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
AGE2=$(find -L $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
||||||
echo "$AGE2"
|
echo "$AGE2"
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
@ -765,7 +765,7 @@ build_dir_srpm () {
|
|||||||
if [ "x$PATH_LIST" == "x" ]; then
|
if [ "x$PATH_LIST" == "x" ]; then
|
||||||
echo "0"
|
echo "0"
|
||||||
else
|
else
|
||||||
AGE2=$(find $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
AGE2=$(find -L $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
||||||
echo "$AGE2"
|
echo "$AGE2"
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
@ -1115,7 +1115,7 @@ build_dir_spec () {
|
|||||||
if [ "x$PATH_LIST" == "x" ]; then
|
if [ "x$PATH_LIST" == "x" ]; then
|
||||||
echo "0"
|
echo "0"
|
||||||
else
|
else
|
||||||
AGE2=$(find $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
AGE2=$(find -L $PATH_LIST -type f -exec stat --format '%Y' "{}" \; | grep -v '[/][.]git$' | grep -v '[/][.]git[/]' | sort -nr | head -n 1)
|
||||||
echo "$AGE2"
|
echo "$AGE2"
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user