[Libreoffice-commits] .: bin/g
Miklos Vajna
vmiklos at kemper.freedesktop.org
Fri Nov 12 06:03:38 PST 2010
bin/g | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit efa2e8941edd61a0850d1639472b020302c1b820
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Fri Nov 12 01:58:27 2010 +0100
bin/g: create symlinks under rawbuild after clone
diff --git a/bin/g b/bin/g
index 3828ea6..c865ff0 100755
--- a/bin/g
+++ b/bin/g
@@ -192,12 +192,15 @@ for DIR in $DIRS ; do
git $PAGER "$COMMAND" $EXTRA "${FILES[@]}"
RETURN=$?
+ # now we can change the dir in case of clone as well
+ [ "$COMMAND" = "clone" ] && cd $DIR
+
# update stamp if the repo changed
NEWHEADREF=`git show-ref --head HEAD`
[ "$HEADREF" != "$NEWHEADREF" ] && touch $CLONEDIR/repos_changed
case "$COMMAND" in
- pull)
+ pull|clone)
# update links
for link in `ls` ; do
if [ ! -e "$RAWBUILDDIR/$link" ] ; then
More information about the Libreoffice-commits
mailing list