Perl6-Pugs

 view release on metacpan or  search on metacpan

util/add-svn-props.sh  view on Meta::CPAN

#!/bin/sh
# Sets the usual svn properties on files.

if [ -d .svn ]; then
  BINARY=svn
else
  BINARY=svk
fi

[ "$1" ] || {
  echo -e "Usage: $0 file1 file2...\n       # Sets the usual svn properties on the given files." >&2
  exit 1
}

for i in "$@"; do
  $BINARY propset svn:eol-style "native"                    "$i"
  $BINARY propset svn:mime-type "text/plain; charset=UTF-8" "$i"
done



( run in 0.979 second using v1.01-cache-2.11-cpan-14f38c9f855 )