Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
250d45c
)
- added check for existing TAG file before catting it
author
yury
<yury>
Thu, 17 Mar 2005 08:50:46 +0000
(08:50 +0000)
committer
yury
<yury>
Thu, 17 Mar 2005 08:50:46 +0000
(08:50 +0000)
build/branch.sh
patch
|
blob
|
history
diff --git
a/build/branch.sh
b/build/branch.sh
index
64c702e
..
023a3f1
100755
(executable)
--- a/
build/branch.sh
+++ b/
build/branch.sh
@@
-31,7
+31,7
@@
case $child in
*) child="b_$child"
esac
-if
[ "$parent" != "HEAD" -a "`cat $dir/CVS/Tag`" != "T$parent" ]
; then
+if
test "$parent" != "HEAD" && test -f $dir/CVS/Tag && "`cat $dir/CVS/Tag`" != "T$parent"
; then
echo "This script must be run within the $parent branch"
exit 1
fi