mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00:00
Use a variable for subfolder string.
This commit is contained in:
parent
fa229bb186
commit
de16c37c82
@ -24,8 +24,9 @@ fi
|
||||
|
||||
# Workaround for rsync not creating target directories with depth > 1
|
||||
mv "$LDIRNAME" "x$LDIRNAME"
|
||||
mkdir -p "$RDIRNAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER"
|
||||
mv "x$LDIRNAME" "$RDIRNAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER/PHP-$TRAVIS_PHP_VERSION/"
|
||||
RROOT="$RDIRNAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER"
|
||||
mkdir -p "$RROOT"
|
||||
mv "x$LDIRNAME" "$RROOT/PHP-$TRAVIS_PHP_VERSION/"
|
||||
|
||||
# Update latest symlink
|
||||
ln -s "$TRAVIS_BUILD_NUMBER" "$RDIRNAME/$TRAVIS_BRANCH/latest"
|
||||
|
Loading…
Reference in New Issue
Block a user