Commit d2752c41 authored by Vitaly Lipatov's avatar Vitaly Lipatov

change myhsh -b to myhsh -p

parent a3cc6bbd
......@@ -26,7 +26,7 @@ phelp()
echog "Options:"
echog " -c build without stuff (without previous built packages)"
echog " -r remove packages from test hasher"
echog " -b print binary packages by built list"
echog " -p print binary packages by built list"
echog " -l lazy cleanup (before build, not after)"
}
......@@ -34,7 +34,7 @@ phelp()
while getopts :hbclr opt; do
case $opt in
h) phelp; exit 0;;
b) PRINTBINPKG=1;;
p) PRINTBINPKG=1;;
r) REMOVEPKG=1;;
l) HASHERARG="$HASHERARG --lazy-cleanup";;
c) WITHSTUFF="--without-stuff";;
......
......@@ -102,7 +102,7 @@ fi
# if ok and test install is requested, do it
if [ "$RESULT" = "0" ] && [ -n "$INSTALLPKG" ] ; then
BINPACKAGES=$($ETERBUILDBIN/myhsh $MENVARG -b $LISTBUILT | estrlist reg_exclude ".*debuginfo.*" -) || fatal "Can't get binary packages for $LISTBUILT"
BINPACKAGES=$($ETERBUILDBIN/myhsh $MENVARG -p $LISTBUILT | estrlist reg_exclude ".*debuginfo.*" -) || fatal "Can't get binary packages for $LISTBUILT"
estrlist isempty "$BINPACKAGES" && fatal "There is no binary packages after build"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment