playwright/browser_patches/firefox/clean.sh

14 lines
181 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set +x
trap "cd $(pwd -P)" EXIT
cd "$(dirname $0)"
cd "checkout"
OBJ_FOLDER=$(ls -1 | grep obj- || true)
if [[ -d $OBJ_FOLDER ]]; then
rm -rf $OBJ_FOLDER
fi