Browse Source

Fixed bin/sde-list-files to work right with the root of a sub-repo is passed (like targets)

misl/sde-wrapper
Alejandro Mery 17 years ago
parent
commit
6a9fca13bc
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      bin/sde-list-files

+ 5
- 1
bin/sde-list-files

@ -129,7 +129,11 @@ for x; do
esac
# trim filename to be $root relative
[ "$root" == "." ] || file="${file#$root/}"
case "$root" in
.) ;;
$file) file=. ;;
*) file="${file#$root/}"
esac
print_file_root "$file" "$root"
else

Loading…
Cancel
Save