projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment fixed (important for later admin area script)
[core.git]
/
setup-repos.sh
diff --git
a/setup-repos.sh
b/setup-repos.sh
index bf98d390b9d8b53bc8b6916af4f4ab722f46e84a..bd7820ab3c4b2700dfd7d17d94f5dc935fd47d62 100755
(executable)
--- a/
setup-repos.sh
+++ b/
setup-repos.sh
@@
-19,7
+19,7
@@
echo "$0: Updating skeleton ..."
svn up ../../skel/ || exit 255
echo "$0: Importing skeleton repository ..."
svn export --force ../../skel/trunk/ . || exit 255
svn up ../../skel/ || exit 255
echo "$0: Importing skeleton repository ..."
svn export --force ../../skel/trunk/ . || exit 255
-s
h `which svn-add-all.sh`
+s
vn add * || exit 255
if test "$1" != "admin"; then
echo "$0: Adding directory application/$1 ..."
svn mkdir application/$1 || exit 255
if test "$1" != "admin"; then
echo "$0: Adding directory application/$1 ..."
svn mkdir application/$1 || exit 255
@@
-30,8
+30,12
@@
echo "$0: Linking to external 'core' repository ..."
svn propset svn:externals -F ../../core/trunk/svn-externals.txt . || exit 255
if (test "$1" != "admin" && test "$1" != "install"); then
cd application/
svn propset svn:externals -F ../../core/trunk/svn-externals.txt . || exit 255
if (test "$1" != "admin" && test "$1" != "install"); then
cd application/
- svn propset svn:externals "admin http://www.ship-simu.org/repos/admin/trunk/application/admin/
+ if test "$1" != "qa"; then
+ svn propset svn:externals -F ../../../core/trunk/application-external.txt . || exit 255
+ else
+ svn propset svn:externals "admin http://www.ship-simu.org/repos/admin/trunk/application/admin/
install http://www.ship-simu.org/repos/install/trunk/application/install/" . || exit 255
install http://www.ship-simu.org/repos/install/trunk/application/install/" . || exit 255
+ fi
cd .. # trunk
else
echo "$0: --- Not setting admin external source. ---"
cd .. # trunk
else
echo "$0: --- Not setting admin external source. ---"