-PACKAGE = $(sjell basename `pwd` )
+PACKAGE = $(shell basename `pwd` )
DESTDIR = /
REPO = /srv/www/repo/TESTING/oss-packages/
-VERSION = $(shell cat RELEASE )
+VERSION = $(shell cat VERSION )
RELEASE = $(shell cat RELEASE )
NRELEASE = $(shell echo $(RELEASE) + 1 | bc )
cp packages.spec.in oss-pkg-$(PACKAGE).spec
sed -i s/VERSION/$(VERSION)/ oss-pkg-$(PACKAGE).spec
sed -i s/RELEASE/$(NRELEASE)/ oss-pkg-$(PACKAGE).spec
- sed -i s/PACAKGE/$(PACKAGE)/ oss-pkg-$(PACKAGE).spec
+ sed -i s/PACKAGE/$(PACKAGE)/ oss-pkg-$(PACKAGE).spec
mkdir -p oss-pkg-$(PACKAGE)
ln -s ../$(PACKAGE).sls oss-pkg-$(PACKAGE)/$(PACKAGE).sls
if [ -d repo-ng ]; then ln -s ../repo-ng/ oss-pkg-$(PACKAGE)/repo-ng; fi