mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
Merge pull request #791 from KirillSmirnov/basename
scripts: remove superfluous dot
This commit is contained in:
commit
f555602f66
@ -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…
Reference in New Issue
Block a user