diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch b/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch index 4476e9101d..6f402ddb6d 100644 --- a/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch +++ b/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch @@ -24,10 +24,10 @@ Index: git/update-rc.d shift +sn=$initd/$bn -+if [ -L "$sn" -a -n $root ]; then ++if [ -L "$sn" -a -n "$root" ]; then + readlink=$(which readlink) + -+ if [ -n $readlink ]; then ++ if [ -n "$readlink" ]; then + sn=$($readlink "$sn") + case "$sn" in + /*) sn=${root}${sn} ;; |