Skip to content

Commit

Permalink
fix escape character
Browse files Browse the repository at this point in the history
  • Loading branch information
publicarray committed Aug 3, 2021
1 parent 425ded2 commit f97c625
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions spk/dotnet-runtime/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ service_postinst ()
cat >"${DOTNET}-env" <<EOL
#!/bin/sh
if [ $(echo "$$PATH"|grep -c .dotnet/tools) -eq 0 ]; then
export PATH="$$PATH:$HOME/.dotnet/tools"
if [ \$(echo "\$PATH"|grep -c .dotnet/tools) -eq 0 ]; then
export PATH="\$PATH:\$HOME/.dotnet/tools"
fi
env DOTNET_ROOT=${SYNOPKG_PKGDEST} LD_LIBRARY_PATH=${SYNOPKG_PKGDEST}/lib $@
env DOTNET_ROOT=${SYNOPKG_PKGDEST} LD_LIBRARY_PATH=${SYNOPKG_PKGDEST}/lib \$@
EOL
chmod +x "${DOTNET}-env"
}
6 changes: 3 additions & 3 deletions spk/dotnet-sdk/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ service_postinst ()
cat >"${DOTNET}-env" <<EOL
#!/bin/sh
if [ $(echo "$$PATH"|grep -c .dotnet/tools) -eq 0 ]; then
export PATH="$$PATH:$HOME/.dotnet/tools"
if [ \$(echo "\$PATH"|grep -c .dotnet/tools) -eq 0 ]; then
export PATH="\$PATH:\$HOME/.dotnet/tools"
fi
env DOTNET_ROOT=${SYNOPKG_PKGDEST} LD_LIBRARY_PATH=${SYNOPKG_PKGDEST}/lib $@
env DOTNET_ROOT=${SYNOPKG_PKGDEST} LD_LIBRARY_PATH=${SYNOPKG_PKGDEST}/lib \$@
EOL
chmod +x "${DOTNET}-env"
}

0 comments on commit f97c625

Please sign in to comment.