Skip to content

Commit 6ad9288

Browse files
authored
fix heredoc indentation
1 parent b029887 commit 6ad9288

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

useful-tools/quick-sharun.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,22 +1151,22 @@ _add_path_mapping_hardcoded() {
11511151
unset _tmp_bin _tmp_lib _tmp_share
11521152
11531153
if ! command -v ln 1>/dev/null; then
1154-
>&2 echo "path-mapping-hardcoded: ERROR we cannot make symlinks"
1155-
>&2 echo "because command 'ln' is missing from the system! Aborting..."
1156-
exit 1
1154+
>&2 echo "path-mapping-hardcoded: ERROR we cannot make symlinks"
1155+
>&2 echo "because command 'ln' is missing from the system! Aborting..."
1156+
exit 1
11571157
fi
11581158
11591159
if [ -f "$APPDIR"/.env ]; then
1160-
. "$APPDIR"/.env
1161-
if [ -n "$_tmp_bin" ]; then
1162-
ln -sfn "$APPDIR"/bin /tmp/"$_tmp_bin"
1163-
fi
1164-
if [ -n "$_tmp_lib" ]; then
1165-
ln -sfn "$APPDIR"/lib /tmp/"$_tmp_lib"
1166-
fi
1167-
if [ -n "$_tmp_share" ]; then
1168-
ln -sfn "$APPDIR"/share /tmp/"$_tmp_share"
1169-
fi
1160+
. "$APPDIR"/.env
1161+
if [ -n "$_tmp_bin" ]; then
1162+
ln -sfn "$APPDIR"/bin /tmp/"$_tmp_bin"
1163+
fi
1164+
if [ -n "$_tmp_lib" ]; then
1165+
ln -sfn "$APPDIR"/lib /tmp/"$_tmp_lib"
1166+
fi
1167+
if [ -n "$_tmp_share" ]; then
1168+
ln -sfn "$APPDIR"/share /tmp/"$_tmp_share"
1169+
fi
11701170
fi
11711171
EOF
11721172
chmod +x "$f"

0 commit comments

Comments
 (0)