#! /bin/bash # Copyright (c) 2007 Apple Inc. All rights reserved. # FetchCurrentSamba - fetch the Samba source that matches the installed system # # The canonical version of this file is: # $HeadURL: svn+ssh://wconway@src.apple.com/svn/fs/samba/tags/samba-235.7/scripts/bb-scripts/FetchCurrentSamba $ # $Id: FetchCurrentSamba 30931 2007-04-16 17:44:14Z jpeach $ SAMBA_SOURCE=$(~rc/bin/getvers -path samba | \ sed '-es|^[^/]*||' # Strip everything up until the first '/' ) rsync --archive ${SAMBA_SOURCE} .