mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
maint: simplify dist extension stripping in Travis build script
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
b98cf5c2cb
commit
4d5c1b2ad8
@ -40,7 +40,7 @@ mkdir -p distrib && cd $_
|
||||
make dist-bzip2
|
||||
|
||||
DISTFILE=$(ls mc-*.tar.bz2)
|
||||
DISTDIR=$(echo $DISTFILE | sed 's/\.tar\.bz2$//g')
|
||||
DISTDIR=$(basename "$DISTFILE" .tar.bz2)
|
||||
|
||||
tar -xjf $DISTFILE
|
||||
cd $DISTDIR
|
||||
|
Loading…
Reference in New Issue
Block a user