useful log for creating mini update

This commit is contained in:
filux 2015-06-15 22:59:20 +02:00
parent edf9922dca
commit 64a749d4cc
2 changed files with 14 additions and 1 deletions

@ -1 +1 @@
Subproject commit 3e9ecd1452f232ead06b7b157c6fa3afc6ded3a4
Subproject commit 33ce71e245cece77f2815b007622302c3171c90a

View File

@ -67,6 +67,19 @@ if [ "$(echo "$VERSION" | grep -v '\-dev')" != "" ]; then
./prepare-mini-update.sh --only_script; sleep 0.5s
cp megaglest-mini-update.sh "$RELEASEDIR/"
if [ -e "megaglest-mini-update.sh" ]; then rm -f "megaglest-mini-update.sh"; fi
cd $CURRENTDIR
if [ -e "megaglest" ]; then
ldd_log="$(echo "$VERSION - $kernel - $architecture - $(date +%F)")"
ldd_log="$(echo -e "$ldd_log\n\nmegaglest:\n$(ldd megaglest | awk '{print $1}')")"
if [ -e "megaglest_editor" ]; then
ldd_log="$(echo -e "$ldd_log\n\nmegaglest_editor:\n$(ldd megaglest_editor | awk '{print $1}')")"
fi
if [ -e "megaglest_g3dviewer" ]; then
ldd_log="$(echo -e "$ldd_log\n\nmegaglest_g3dviewer:\n$(ldd megaglest_g3dviewer | awk '{print $1}')")"
fi
echo "$ldd_log" > "$RELEASEDIR/ldd-megaglest.log"
fi
fi
mkdir -p "$RELEASEDIR/blender/"