From: Ian Kelling Date: Mon, 18 Nov 2024 04:05:30 +0000 (-0500) Subject: fix build detection, use fewer directories potentially X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=buildscripts fix build detection, use fewer directories potentially --- diff --git a/emacs b/emacs index 30e7f6b..88ecb63 100755 --- a/emacs +++ b/emacs @@ -86,7 +86,7 @@ fi pi ${pkgs[@]} #git repo -dir=/a/opt/emacs-$(distro-name)$(distro-num) +dir=/a/opt/emacs-$(debian-codename-compat) last_build=$dir/iank-emacs-build # e/e because autofs failing to mount will make it so @@ -132,6 +132,8 @@ fi if $bootstrap; then m rsync --exclude /.git --delete-excluded -ra /a/opt/emacs/ $dir + mkdir $dir.git + m rsync -ra /a/opt/emacs/.git/{HEAD,refs} $dir/.git recompile=true fi diff --git a/mu4e b/mu4e index 58955ec..562af77 100755 --- a/mu4e +++ b/mu4e @@ -43,7 +43,7 @@ done bootstrap=false #git repo -dir=/a/opt/mu-$(distro-name)$(distro-num) +dir=/a/opt/mu-$(debian-codename-compat) last_build=$dir/iank-mu-build if [[ -e $dir ]]; then