diff options
Diffstat (limited to 'bin/ct')
-rwxr-xr-x | bin/ct | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -977,6 +977,12 @@ function pkg_version { ${$(git --git-dir=${self_path}/.git/ log -n 1)[2]} } +# cd ~/packages/caretaker; ct r . +# -> ct refresh caretaker + +if [[ ${1} == . ]] { + 1=${${PWD#${PKG_DIR}/}%%/*} +} cd ${PKG_DIR} || die "Cannot cd ${PKG_DIR}" |