Skip to content

Commit 6458ff4

Browse files
authored
Remove symlinks pointing to absolute paths
1 parent cc70292 commit 6458ff4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/compile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if [[ ! $VERSION =~ ^master$ || $VERSION =~ snapshot$ ]]; then
7777
fi
7878

7979
# php-fpm
80-
ln -sv $PWD/sbin/php-fpm $PWD/bin/php-fpm
80+
ln -sv sbin/php-fpm ../bin/php-fpm
8181

8282
# composer and phpunit
8383
curl -fsSL -o bin/composer http://getcomposer.org/composer.phar
@@ -107,7 +107,9 @@ xdebug.max_nesting_level = 256
107107
EOF
108108

109109
if [ $ALIAS ]; then
110-
ln -s ${INSTALL_DEST}/${VERSION} ${INSTALL_DEST}/${ALIAS}
110+
pushd ${INSTALL_DEST}
111+
ln -s ${VERSION} ${ALIAS}
112+
popd
111113
fi
112114

113115
pushd /tmp

0 commit comments

Comments
 (0)