mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-01 12:15:42 +00:00
nightly build: Move shell code for listing files under source control into a separate file
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4449 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -88,9 +88,9 @@ function test_scst_tree_patches {
|
||||
# Only copy those files which are administered by Subversion.
|
||||
function duplicate_scst_source_tree {
|
||||
if [ -e "$1/AskingQuestions" ]; then
|
||||
( cd "$1" && svn status -v | grep -v '^[D?]' | cut -c3- | awk '{print $4}' \
|
||||
| while read f; do [ ! -d "$f" ] && echo "$f"; done ) \
|
||||
| tar -C "$1" --files-from=- -c -f - | tar -x -f -
|
||||
"${scriptsdir}"/list-source-files "$1" |
|
||||
tar -C "$1" --files-from=- -c -f - |
|
||||
tar -x -f -
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
@@ -473,6 +473,9 @@ if [ ! -e scst -o ! -e iscsi-scst -o ! -e srpt ]; then
|
||||
fi
|
||||
|
||||
scriptsdir="$(dirname $0)"
|
||||
if [ "${scriptsdir:0:1}" != "/" ]; then
|
||||
scriptsdir="$PWD/${scriptsdir}"
|
||||
fi
|
||||
# Where to store persistenly downloaded kernel tarballs and kernel patches.
|
||||
kernel_sources="$HOME/software/downloads"
|
||||
# URL for downloading kernel tarballs and kernel patches.
|
||||
|
||||
Reference in New Issue
Block a user