Packaging script updated to use sub-packaging scripts in freshly checkedout copy of repo.
This commit is contained in:
@@ -28,7 +28,7 @@ msg "\E[32m" "Connecting to GIT server...."
|
|||||||
if [ -d $_gitname ] ; then
|
if [ -d $_gitname ] ; then
|
||||||
pushd $_gitname &> /dev/null && git pull origin
|
pushd $_gitname &> /dev/null && git pull origin
|
||||||
msg "\E[32m" "The local files are updated."
|
msg "\E[32m" "The local files are updated."
|
||||||
popd &> /dev/null
|
popd &> /dev/null # $_gitname
|
||||||
else
|
else
|
||||||
git clone $_gitroot $_gitname
|
git clone $_gitroot $_gitname
|
||||||
fi
|
fi
|
||||||
@@ -54,8 +54,8 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
make prefix=/usr DESTDIR=../built install
|
make prefix=/usr DESTDIR=../built install
|
||||||
popd &> /dev/null
|
|
||||||
popd &> /dev/null
|
pushd packaging &> /dev/null
|
||||||
|
|
||||||
#Arch-Linux
|
#Arch-Linux
|
||||||
msg "\E[34m" "Building Arch-Linux package."
|
msg "\E[34m" "Building Arch-Linux package."
|
||||||
@@ -98,3 +98,6 @@ else
|
|||||||
fi
|
fi
|
||||||
popd &> /dev/null
|
popd &> /dev/null
|
||||||
|
|
||||||
|
popd &> /dev/null # packaging
|
||||||
|
popd &> /dev/null # $_gitname-build
|
||||||
|
popd &> /dev/null # ~/openra-package/
|
||||||
|
|||||||
Reference in New Issue
Block a user