diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-06-07 12:46:47 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-06-10 13:24:34 -0500 |
commit | a7da00e0b74b795bfb797883753b25c1ff116aa5 (patch) | |
tree | ee5b5973694148757f1d5b010d6f5e34625e8504 /.bash_defns | |
parent | 4002eb227c7cccff9fd7af45cc05ec7a0c63addc (diff) | |
download | dotfiles-a7da00e0b74b795bfb797883753b25c1ff116aa5.tar.gz |
replace eshell/package-plan-unpack with something synchronous
Also fix attempting to readlink(1) a non-symlink.
Diffstat (limited to '.bash_defns')
-rw-r--r-- | .bash_defns | 9 |
1 files changed, 1 insertions, 8 deletions
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 |