Browse Source

Use tar instead of ls to find out missing files

tmp/comercial-emacs
Juan Jose Garcia-Ripoll 4 years ago
parent
commit
4985b23b1a
  1. 2
      scripts/tools.sh

2
scripts/tools.sh

@ -136,7 +136,7 @@ function package_dependencies ()
cd $mingw_dir
echo Mingw dir $mingw_dir
pacman -Ql $dependencies | cut -d ' ' -f 2 | sort | uniq \
| grep "^$mingw_dir" | sed -e "s,^$mingw_dir,,g" | xargs ls
| grep "^$mingw_dir" | sed -e "s,^$mingw_dir,,g" | dependency_filter | xargs tar -c --verbose -f - > /dev/null
echo Packing
pacman -Ql $dependencies | cut -d ' ' -f 2 | sort | uniq \
| grep "^$mingw_dir" | sed -e "s,^$mingw_dir,,g" | dependency_filter | xargs zip -9v $zipfile

Loading…
Cancel
Save