mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +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
|
||||
|
||||
for ext in $(CT_DoListTarballExt); do
|
||||
if [ "${bn%.${ext}}" != "${bn}" ]; then
|
||||
echo "${bn%.${ext}}"
|
||||
if [ "${bn%${ext}}" != "${bn}" ]; then
|
||||
echo "${bn%${ext}}"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user