wok-6.x rev 14193
emacs-pkg-lua-mode: tidy receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:04:56 2013 +0100 (2013-03-12) |
parents | 5f1434518c87 |
children | f8c578364093 |
files | emacs-pkg-lua-mode/receipt |
line diff
1.1 --- a/emacs-pkg-lua-mode/receipt Tue Mar 12 23:02:56 2013 +0100 1.2 +++ b/emacs-pkg-lua-mode/receipt Tue Mar 12 23:04:56 2013 +0100 1.3 @@ -25,12 +25,11 @@ 1.4 status 1.5 1.6 # byte-compile files, remove src 1.7 - cd $fs/usr/share/emacs/site-lisp/lua-mode 1.8 - for file in *.el ; do 1.9 - echo -n "Byte-compiling $file" 1.10 - emacs -batch -f batch-byte-compile $file 2> /dev/null 1.11 + for file in $fs/usr/share/emacs/site-lisp/lua-mode/*.el ; do 1.12 + echo -n "Byte-compiling $(basename file)" 1.13 + emacs -batch -f batch-byte-compile $file 2> /dev/null; err=$? 1.14 status 1.15 - rm -f $file 1.16 + [ "$err" = "0" ] && rm -f $file 1.17 done 1.18 } 1.19