mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +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
|
make dist-bzip2
|
||||||
|
|
||||||
DISTFILE=$(ls mc-*.tar.bz2)
|
DISTFILE=$(ls mc-*.tar.bz2)
|
||||||
DISTDIR=$(echo $DISTFILE | sed 's/\.tar\.bz2$//g')
|
DISTDIR=$(basename "$DISTFILE" .tar.bz2)
|
||||||
|
|
||||||
tar -xjf $DISTFILE
|
tar -xjf $DISTFILE
|
||||||
cd $DISTDIR
|
cd $DISTDIR
|
||||||
|
Loading…
Reference in New Issue
Block a user