Permalink
Browse files

unpacking for git

  • Loading branch information...
1 parent 3c681aa commit d55505e794123c3579f5a50a252c6e57616ee953 @sjvermeu committed Aug 28, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 eclass/selinux-policy-2.eclass
@@ -111,7 +111,12 @@ EXPORT_FUNCTIONS ${SELINUX_EXPF}
# Unpack the policy sources as offered by upstream (refpolicy). In case of EAPI
# older than 2, call src_prepare too.
selinux-policy-2_src_unpack() {
- unpack ${A}
+ if [[ "${BASEPOL}" != "9999" ]];
+ then
+ unpack ${A}
+ else
+ git-2_src_unpack
+ fi
# Call src_prepare explicitly for EAPI 0 or 1
has "${EAPI:-0}" 0 1 && selinux-policy-2_src_prepare

0 comments on commit d55505e

Please sign in to comment.