summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/rubyv2.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/rubyv2.bbclass b/classes/rubyv2.bbclass
index 3d6654e..1dfb047 100644
--- a/classes/rubyv2.bbclass
+++ b/classes/rubyv2.bbclass
@@ -121,6 +121,11 @@ do_generate_spec() {
121 export RUBYLIB=${RUBYLIB} 121 export RUBYLIB=${RUBYLIB}
122 export GEM_SPEC=${GEM_SPEC_CACHE} 122 export GEM_SPEC=${GEM_SPEC_CACHE}
123 123
124 if [ -e "${UNPACKDIR}/${GEM_SPEC_FILE}" ]; then
125 cp -f "${UNPACKDIR}/${GEM_SPEC_FILE}" "${S}/${GEM_SPEC_FILE}"
126 return 0
127 fi
128
124 # GEM_FILE might not exist if SRC_URI was overloaded 129 # GEM_FILE might not exist if SRC_URI was overloaded
125 [ ! -e ${GEM_FILE} ] && return 0 130 [ ! -e ${GEM_FILE} ] && return 0
126 131