Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sometime we don't need gracefully flush client credential.
[fs/lustre-release.git]
/
build
/
branch.sh
diff --git
a/build/branch.sh
b/build/branch.sh
index
64c702e
..
b64681f
100755
(executable)
--- a/
build/branch.sh
+++ b/
build/branch.sh
@@
-31,7
+31,7
@@
case $child in
*) child="b_$child"
esac
*) child="b_$child"
esac
-if
[ "$parent" != "HEAD" -a "`cat $dir/CVS/Tag`" != "T$parent" ]
; then
+if
test "$parent" != "HEAD" -a -f $dir/CVS/Tag -a "`cat $dir/CVS/Tag`" != "T$parent"
; then
echo "This script must be run within the $parent branch"
exit 1
fi
echo "This script must be run within the $parent branch"
exit 1
fi