Skip to content

Commit 4f8719d

Browse files
committed
tabs to spaces for consistency
1 parent a42b91d commit 4f8719d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

haskell/private/cabal_wrapper.sh.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ function canonicalize_path()
3131
new_path=""
3232
while IFS=: read -r -d: entry
3333
do
34-
if [[ -n "$entry" ]]
35-
then
36-
new_path="$new_path${new_path:+:}$(realpath "$entry")"
37-
fi
34+
if [[ -n "$entry" ]]
35+
then
36+
new_path="$new_path${new_path:+:}$(realpath "$entry")"
37+
fi
3838
done <<< "${1:-}:"
3939
echo $new_path
4040
}
@@ -114,7 +114,7 @@ if [[ -n ${library+x} && -f $package_database/$name.conf ]]
114114
then
115115
mv $libdir/libHS*.a $dynlibdir
116116
sed 's,library-dirs:.*,library-dirs: ${pkgroot}/lib,' \
117-
$package_database/$name.conf > $package_database/$name.conf.tmp
117+
$package_database/$name.conf > $package_database/$name.conf.tmp
118118
mv $package_database/$name.conf.tmp $package_database/$name.conf
119119
%{ghc_pkg} recache --package-db=$package_database
120120
fi

0 commit comments

Comments
 (0)