Script fix

This commit is contained in:
Michael Snoyman 2013-06-30 13:42:26 +03:00
parent c5733d1fca
commit 61818f6ff8

View File

@ -9,13 +9,14 @@ do
PKG=${PKG1%.patch} PKG=${PKG1%.patch}
rm -rf tmp rm -rf tmp
mkdir tmp mkdir tmp
(
cd tmp cd tmp
cabal unpack $PKG cabal unpack $PKG
cd $PKG cd $PKG
patch -p1 < ../../$f patch -p1 < ../../$f
cabal sdist cabal sdist
mv dist/$PKG.tar.gz ../../tarballs mv dist/$PKG.tar.gz ../../tarballs
cd .. )
rm -rf tmp rm -rf tmp
) )
done done