]> git.wh0rd.org Git - tt-rss.git/commitdiff
modify dojo rebuild script to remove uncompressed files
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 16:06:04 +0000 (20:06 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 16:06:04 +0000 (20:06 +0400)
lib/dojo-src/rebuild-dojo.sh

index 12d4d8e591ca2de740c20ecfe52b0023af9ea4bf..76634dfbc4ce8d327579515c5b97116c1a94a23d 100755 (executable)
@@ -18,6 +18,11 @@ if [ -d util/buildscripts/ ]; then
                rm -rf ../dojo ../dijit
                cp -r release/dojo/dojo ..
                cp -r release/dojo/dijit ..
+
+               cd ..
+
+               find dojo -name '*uncompressed*' -exec rm -- {} \;
+               find dijit -name '*uncompressed*' -exec rm -- {} \;
        else
                echo $0: ERROR: Dojo build seems to have failed.
        fi