mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
scripts: remove superfluous dot
Tarball extensions list already contains leading dot, do not add another one. Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
This commit is contained in:
parent
bcaec4d80a
commit
aa757c345f
@ -658,8 +658,8 @@ CT_GetFileBasename()
|
|||||||
local ext
|
local ext
|
||||||
|
|
||||||
for ext in $(CT_DoListTarballExt); do
|
for ext in $(CT_DoListTarballExt); do
|
||||||
if [ "${bn%.${ext}}" != "${bn}" ]; then
|
if [ "${bn%${ext}}" != "${bn}" ]; then
|
||||||
echo "${bn%.${ext}}"
|
echo "${bn%${ext}}"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user