#10 Fix return code of mingw-find-lang.sh
Closed a year ago by pterjan. Opened a year ago by pterjan.
rpms/ pterjan/mingw-filesystem rawhide  into  rawhide

file modified
+3 -1
@@ -20,4 +20,6 @@ 

  	cat ${PACKAGE_NAME}.lang | grep "$prefix" > ${target}-$PACKAGE_NAME.lang

  done

  

- test -f ${PACKAGE_NAME}-native.lang && mv ${PACKAGE_NAME}-native.lang ${PACKAGE_NAME}.lang

+ if test -f ${PACKAGE_NAME}-native.lang; then

+ 	mv ${PACKAGE_NAME}-native.lang ${PACKAGE_NAME}.lang

+ fi 

\ No newline at end of file

It currently returns a non zero value when there is no .lang file to
preserve, failing the build of a dozen packages.

This was fixed differently in d897e0b

Pull-Request has been closed by pterjan

a year ago

Sorry missed your PR!

Metadata