packaging: build: validate shell scripts

Change-Id: Ib16140e4abcb3740a51f4c3b77b9eee3a6e5cffd
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>