diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2016-06-12 22:21:19 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2016-06-12 22:21:19 +0300 |
commit | 824b9947a4bdf2049961216c81e089c086ea2652 (patch) | |
tree | 571e03f2fd57fdc0acf02ae523412cdb31ce7a7a | |
parent | sys-cluster/lustre: Add ebuild for 2.8.0 tag (diff) | |
download | sci-824b9947a4bdf2049961216c81e089c086ea2652.tar.gz sci-824b9947a4bdf2049961216c81e089c086ea2652.tar.bz2 sci-824b9947a4bdf2049961216c81e089c086ea2652.zip |
sys-cluster/lustre: Fix case when patches are empty
Package-Manager: portage-2.3.0_rc1
-rw-r--r-- | sys-cluster/lustre/lustre-2.8.0.ebuild | 4 | ||||
-rw-r--r-- | sys-cluster/lustre/lustre-9999.ebuild | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-cluster/lustre/lustre-2.8.0.ebuild b/sys-cluster/lustre/lustre-2.8.0.ebuild index 59c8e550e..fccf13a1a 100644 --- a/sys-cluster/lustre/lustre-2.8.0.ebuild +++ b/sys-cluster/lustre/lustre-2.8.0.ebuild @@ -50,7 +50,9 @@ pkg_setup() { } src_prepare() { - epatch ${PATCHES[@]} + if [ -z ${PATCHES[@]} ]; then + epatch ${PATCHES[@]} + fi # replace upstream autogen.sh by our src_prepare() local DIRS="libcfs lnet lustre snmp" local ACLOCAL_FLAGS diff --git a/sys-cluster/lustre/lustre-9999.ebuild b/sys-cluster/lustre/lustre-9999.ebuild index 59c8e550e..fccf13a1a 100644 --- a/sys-cluster/lustre/lustre-9999.ebuild +++ b/sys-cluster/lustre/lustre-9999.ebuild @@ -50,7 +50,9 @@ pkg_setup() { } src_prepare() { - epatch ${PATCHES[@]} + if [ -z ${PATCHES[@]} ]; then + epatch ${PATCHES[@]} + fi # replace upstream autogen.sh by our src_prepare() local DIRS="libcfs lnet lustre snmp" local ACLOCAL_FLAGS |