1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01:00
nix/scripts/nix-readrevisions.sh.in
Wouter den Breejen ca5fc7c582 major update
2007-07-08 19:02:08 +00:00

13 lines
199 B
Bash
Executable file

#! /bin/sh -e
svnbin=$1
repos=$2
if [ "$#" != 2 ] ; then
echo "Incorrect number of arguments"
exit 1;
fi
$svnbin info $repos | sed -n '/^Revision: /p' | sed 's/Revision: //'
# | tr -d "\12"