parent
c14dee55e8
commit
17cf42d876
@ -2,7 +2,7 @@ findTarball() {
|
|||||||
local suffix i
|
local suffix i
|
||||||
if [ -d "$1/tarballs/" ]; then
|
if [ -d "$1/tarballs/" ]; then
|
||||||
for suffix in tar.gz tgz tar.bz2 tbz2 tar.xz tar.lzma; do
|
for suffix in tar.gz tgz tar.bz2 tbz2 tar.xz tar.lzma; do
|
||||||
for i in $1/tarballs/*.$suffix; do echo $i; return; done
|
for i in $1/tarballs/*.$suffix; do echo $i; break; done
|
||||||
done | sort | head -1
|
done | sort | head -1
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user