dotfiles/.bash_it/test/fixtures/svn/working/svn
2022-02-27 20:00:49 +01:00

11 lines
243 B
Bash
Executable File

#!/usr/bin/env bash
# If the info command is called
# AND the parent folder contains the .svn folder
# THEN return the current path, similar to what `svn info` does
if [[ "$1" == "info" ]] && [[ -d "../.svn" ]]; then
echo "$PWD"
fi
exit 0