Commit 3eb8fb63 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbsh: don't replace pushd/popd on ALT

parent 7c8572e0
......@@ -226,12 +226,12 @@ if [ "$VENDOR" = "alt" ] ; then
subst "s|^\(AutoReq.*\),nomingw32|\1|g" $SPECNAME
subst "s|^\(AutoProv.*\),nomingw32|\1|g" $SPECNAME
fi
else
# for systems with ash as sh (f.i., Ubuntu)
subst "s|^pushd \(.*\)|cd \1 >/dev/null|g" $SPECNAME
subst "s|^popd|cd - >/dev/null|g" $SPECNAME
fi
# for systems with ash as sh (f.i., Ubuntu)
subst "s|^pushd \(.*\)|cd \1 >/dev/null|g" $SPECNAME
subst "s|^popd|cd - >/dev/null|g" $SPECNAME
if [ "$DISTRSYS/$DISTRVERSION" = "CentOS/5" ] ; then
test -z "$VERBOSE" || echo "Remove egg-info from file list"
subst "s|.*\.egg-info.*||g" $SPECNAME
......
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