We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b15052 commit 7866618Copy full SHA for 7866618
1 file changed
pkgm.ts
@@ -731,13 +731,12 @@ function install_prefix() {
731
}
732
733
function dev_stub_text(selfpath: string, bin_prefix: string, name: string) {
734
- const datadir = "$HOME/Library/Application Support";
735
return `
736
dev_check() {
737
[ -x /usr/local/bin/dev ] || return 1
738
local d="$PWD"
739
until [ "$d" = / ]; do
740
- if [ -f "${datadir}/pkgx/dev/$d/dev.pkgx.activated" ]; then
+ if [ -f "${datadir()}/pkgx/dev/$d/dev.pkgx.activated" ]; then
741
echo $d
742
return 0
743
fi
0 commit comments