mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 05:41:14 +01:00
Make function in package script more portable
The script in the standalone package currently fails on OSes like Ubuntu where /bin/sh does not support functions declared with the function keyword. This removes the function keyword from `follow_links`.
This commit is contained in:
parent
2f1e40eb35
commit
ccbe35da77
@ -7,7 +7,7 @@
|
||||
# executable and a snapshot of Sass. It can be created with `pub run grinder
|
||||
# package`.
|
||||
|
||||
function follow_links() {
|
||||
follow_links() {
|
||||
file="$1"
|
||||
while [ -h "$file" ]; do
|
||||
# On Mac OS, readlink -f doesn't work.
|
||||
|
Loading…
x
Reference in New Issue
Block a user