Skip to content

Commit 7a97d54

Browse files
committed
Purge target locations in oxi-refresh (Vagrant box "develop")
1 parent 0b5364f commit 7a97d54

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vagrant/develop/scripts/oxi-refresh

+8
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,14 @@ our \$VERSION = '$OXI_VERSION';
130130
1;
131131
__VERSION
132132

133+
echo "- purging possible target locations"
134+
while read -d : path; do
135+
test $path == "." && continue
136+
echo " $path/OpenXPKI*"
137+
rm -rf $path/OpenXPKI*
138+
rm -rf $path/auto/OpenXPKI*
139+
done <<< $(perl -e 'print "$_:" for @INC')
140+
133141
pushd $OXI_CORE_DIR/server >>$LOG 2>&1
134142
perl Makefile.PL >>$LOG 2>&1
135143
if [[ $IS_COMPILE -eq 1 ]]; then

0 commit comments

Comments
 (0)