Make portsnap extract to the correct directory

This commit is contained in:
erdgeist 2006-04-24 15:48:54 +00:00
parent 8f7a52bffa
commit 87273fafa2

View File

@ -123,7 +123,7 @@ ezjail_updateports () {
else else
portsnap fetch portsnap fetch
[ -d ${ezjail_jailbase}/usr/ports ] && ezjail_portsnapaction=update [ -d ${ezjail_jailbase}/usr/ports ] && ezjail_portsnapaction=update
portsnap ${ezjail_portsnapaction:-"extract"} portsnap -p ${ezjail_jailbase}/usr/ports ${ezjail_portsnapaction:-"extract"}
fi fi
[ $? = 0 ] || exerr "Updating ports failed." [ $? = 0 ] || exerr "Updating ports failed."
} }