closes #514: clobber existing browser at that path instead of snarling it inside

This commit is contained in:
Cameron Kaiser 2018-07-16 19:22:35 -07:00
parent 1ec3662359
commit 7b81659a34
1 changed files with 7 additions and 1 deletions

View File

@ -2,8 +2,14 @@
# from AuroraFox, modified for TenFourFox
set verbose
set ppath=$1
if ("$ppath" == "/" || "$ppath" == "") then
echo 'invalid path'
exit
endif
set verbose
rm -rf $ppath || echo 'Never mind.'
cp -RL obj-ff-dbg/dist/TenFourFox.app $ppath || cp -RL obj-ff-dbg/dist/TenFourFoxDebug.app $ppath || exit
cd $ppath/Contents/MacOS || exit