|
@ -32,7 +32,7 @@ function clone_repo () |
|
|
echo Found git, nothing to install. |
|
|
echo Found git, nothing to install. |
|
|
else |
|
|
else |
|
|
echo Git is not found, installing it. |
|
|
echo Git is not found, installing it. |
|
|
pacman -S --noconfirm git |
|
|
pacman -S --noconfirm --needed git |
|
|
fi |
|
|
fi |
|
|
pushd . >/dev/null |
|
|
pushd . >/dev/null |
|
|
local error |
|
|
local error |
|
@ -135,6 +135,11 @@ function package_dependencies () |
|
|
mkdir -p `dirname "$zipfile"` |
|
|
mkdir -p `dirname "$zipfile"` |
|
|
cd $mingw_dir |
|
|
cd $mingw_dir |
|
|
echo Mingw dir $mingw_dir |
|
|
echo Mingw dir $mingw_dir |
|
|
|
|
|
pacman -Ql $dependencies | cut -d ' ' -f 2 | sort | uniq \ |
|
|
|
|
|
| sed "s,^$mingw_dir,,g" |
|
|
|
|
|
echo Packing |
|
|
|
|
|
pacman -Ql $dependencies | cut -d ' ' -f 2 | sort | uniq |
|
|
|
|
|
echo Packing |
|
|
pacman -Ql $dependencies | cut -d ' ' -f 2 | sort | uniq \ |
|
|
pacman -Ql $dependencies | cut -d ' ' -f 2 | sort | uniq \ |
|
|
| sed "s,^$mingw_dir,,g" | dependency_filter | xargs zip -9 $zipfile |
|
|
| sed "s,^$mingw_dir,,g" | dependency_filter | xargs zip -9 $zipfile |
|
|
} |
|
|
} |
|
|