Skip to content

Commit 7866618

Browse files
committed
wip
1 parent 6b15052 commit 7866618

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkgm.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,13 +731,12 @@ function install_prefix() {
731731
}
732732

733733
function dev_stub_text(selfpath: string, bin_prefix: string, name: string) {
734-
const datadir = "$HOME/Library/Application Support";
735734
return `
736735
dev_check() {
737736
[ -x /usr/local/bin/dev ] || return 1
738737
local d="$PWD"
739738
until [ "$d" = / ]; do
740-
if [ -f "${datadir}/pkgx/dev/$d/dev.pkgx.activated" ]; then
739+
if [ -f "${datadir()}/pkgx/dev/$d/dev.pkgx.activated" ]; then
741740
echo $d
742741
return 0
743742
fi

0 commit comments

Comments
 (0)