Skip to content

Commit

Permalink
fix shell globbing
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl authored and citrus-it committed Mar 23, 2024
1 parent e5548e2 commit 54a5c8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/omni
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#
# }}}
#
# Copyright 2023 OmniOS Community Edition (OmniOSce) Association.
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.

export PATH=/usr/bin:/usr/sbin:/opt/ooce/bin
export OMNIVER=master
Expand Down Expand Up @@ -728,7 +728,7 @@ function reset_buildrepo {

echo "Clearing build IPS repository ($repo)..."
[ -d "$repo/.zfs" ] && zfsrollback "$repo"
[ -d "$repo" ] && rm -rf "$repo/*"
[ -d "$repo" ] && rm -rf "$repo"/*
pkgrepo create "$repo"
pkgrepo add-publisher -s "$repo" omnios
pkgrepo -s "$repo" info
Expand All @@ -738,7 +738,7 @@ function cleanup_omnios {
echo "Clearing temporary build directory..."
for d in "$omnios_buildtmp" "$omnios_clone/tmp.repo"; do
[ -d "$d/.zfs" ] && zfsrollback "$d"
[ -d "$d" ] && rm -rf "$d/*"
[ -d "$d" ] && rm -rf "$d"/*
done
reset_buildrepo "$omnios_buildrepo"
reset_buildrepo "$braich_buildrepo"
Expand Down

0 comments on commit 54a5c8c

Please sign in to comment.