Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-builder
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-builder
Commits
c31620d0
Verified
Commit
c31620d0
authored
Nov 08, 2025
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleartmp: fix mk-p cleaning
parent
01aa6473
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
cleartmp
bin/cleartmp
+19
-1
No files found.
bin/cleartmp
View file @
c31620d0
#!/bin/bash
BASE
=
"/tmp/.private/
$USER
"
# базовые функции
# shellcheck disable=SC1091
.
"
$(
dirname
"
$0
"
)
/common"
...
...
@@ -9,9 +11,25 @@ print_blue "Очистка...."
if
[
-d
"
$PROFILESDIR
"
/build
]
;
then
pushd
"
$PROFILESDIR
"
>
/dev/null
||
exit
make clean
rm
-rf
"
$TMP
"
/mkimage-profiles.build.
*
rm
-rf
./build
popd
>
/dev/null
||
exit
for
builddir
in
"
$BASE
"
/mkimage-profiles.build.
*
;
do
[
-d
"
$builddir
"
]
||
continue
if
[
-d
"
$builddir
/.work/chroot"
]
;
then
hsh-rmchroot
"
$builddir
/.work"
||
echo
"Ошибка при удалении
$builddir
/.work"
fi
for
sub
in
main live stage1
;
do
if
[
-d
"
$builddir
/
$sub
/.work/chroot"
]
;
then
hsh-rmchroot
"
$builddir
/
$sub
/.work"
||
echo
"Ошибка при удалении
$builddir
/
$sub
/.work"
fi
done
rm
-rf
"
$builddir
"
done
print_green
"mkimage-profiles очищен"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment