From a7da00e0b74b795bfb797883753b25c1ff116aa5 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 7 Jun 2022 12:46:47 -0700 Subject: replace eshell/package-plan-unpack with something synchronous Also fix attempting to readlink(1) a non-symlink. --- .bash_defns | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to '.bash_defns') diff --git a/.bash_defns b/.bash_defns index f0893b88..76a76097 100644 --- a/.bash_defns +++ b/.bash_defns @@ -47,14 +47,7 @@ export MAKEFLAGS="-j$((2 * $(nproc)))" # --- more powerful aliases built with shell functions package-plan-unpack () { - package="$1" - patches="$HOME/src/package-plan/patches/${package%-*}/${package##*-}" - cd /tmp - cabal unpack --pristine "$package" - cd "$package" - mkdir -p "$patches" - ln -s "$patches" patches - ls "$(readlink $patches)" + ~/src/dotfiles/scripts/debian/package-plan-unpack "$1"; cd "/tmp/$1" } # tidy up if I deleted files from stowed repos without properly -- cgit v1.2.3