mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 21:17:19 +00:00
use install -t instead of make install for sassc
This commit is contained in:
@@ -3,14 +3,19 @@ set -e
|
|||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
||||||
|
# cleanup previously downloaded and unpacked files.
|
||||||
rm -rf libsass
|
rm -rf libsass
|
||||||
rm -rf sassc
|
rm -rf sassc
|
||||||
|
|
||||||
|
# download the latest build of sassc
|
||||||
git clone --depth=1 git://github.com/sass/libsass.git
|
git clone --depth=1 git://github.com/sass/libsass.git
|
||||||
git clone --depth=1 git://github.com/sass/sassc.git
|
git clone --depth=1 git://github.com/sass/sassc.git
|
||||||
|
|
||||||
export SASS_LIBSASS_PATH=/tmp/libsass
|
export SASS_LIBSASS_PATH=/tmp/libsass
|
||||||
|
|
||||||
|
# build the sassc binary
|
||||||
cd sassc
|
cd sassc
|
||||||
make
|
make
|
||||||
sudo make install
|
|
||||||
|
# isntall the sassc binary
|
||||||
|
sudo install -t /usr/local/bin bin/sassc
|
||||||
|
Reference in New Issue
Block a user