Commit fa71f2ca authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*added Albert Graef's check for git folder in preparation for the launchpad autobuild integration

parent 0a36f63e
......@@ -125,12 +125,14 @@ if [ $full -gt 0 -o $deb -gt 0 ]
then
echo "Pd full installer... IMPORTANT! When ran for the first time this step requires internet connection to pull sources from other repositories..."
# check if Gem submodule is empty, and if so do first init
if [ "$(ls -A Gem)" ]; then
git submodule update
else
git submodule init
git submodule update
if [ -d .git ]; then
# check if Gem submodule is empty, and if so do first init
if [ "$(ls -A Gem)" ]; then
git submodule update
else
git submodule init
git submodule update
fi
fi
# update the include files to be safe
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment