diff options
author | Hyokeun Jeon <hyokeun.jeon@samsung.com> | 2022-09-23 15:53:40 +0900 |
---|---|---|
committer | Hyokeun Jeon <hyokeun.jeon@samsung.com> | 2022-09-23 15:53:40 +0900 |
commit | ed942ddab9f26bd7e1ecbb3827e4733f1fc9f39d (patch) | |
tree | 172aafecfa2a9109f18e232d816c5313994ecd09 | |
parent | c700794d14dbcecabd3e4a67283ae569cea29aea (diff) | |
download | abs-ed942ddab9f26bd7e1ecbb3827e4733f1fc9f39d.tar.gz abs-ed942ddab9f26bd7e1ecbb3827e4733f1fc9f39d.tar.bz2 abs-ed942ddab9f26bd7e1ecbb3827e4733f1fc9f39d.zip |
Check spec file existance
-rwxr-xr-x | utils/generate_specfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/generate_specfile b/utils/generate_specfile index 49965a9..c464940 100755 --- a/utils/generate_specfile +++ b/utils/generate_specfile @@ -29,6 +29,10 @@ else fi SPEC_FILE=${SOURCE_PATH}/_abs_out_/${PACKAGE_NAME}.spec cp ${SPEC_TEMPLATE} ${SPEC_FILE} +if [ ! -f ${SPEC_FILE} ]; then + echo "SPEC creation failure" + exit 3 +fi # Append version string for file in `ls ${SOURCE_PATH}/_abs_out_/*.wgt`; do |