Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
etersoft
eepm
Commits
6ed59d2b
Commit
6ed59d2b
authored
Apr 09, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack pantum: fix tar name handling (there are no spaces more)
parent
6bc45bf5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pantum.sh
pack.d/pantum.sh
+2
-2
No files found.
pack.d/pantum.sh
View file @
6ed59d2b
...
@@ -5,7 +5,8 @@ RETURNTARNAME="$2"
...
@@ -5,7 +5,8 @@ RETURNTARNAME="$2"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
if
echo
"
$TAR
"
|
grep
-q
"Pantum Ubuntu Driver V.*.zip"
;
then
# epm replaces spaces with - in downloaded files
if
echo
"
$TAR
"
|
grep
-q
"Pantum[ -]Ubuntu[ -]Driver[- ]V.*.zip"
;
then
erc
"
$TAR
"
||
fatal
erc
"
$TAR
"
||
fatal
elif
echo
"
$TAR
"
|
grep
-q
"Pantum%20Ubuntu%20Driver%20V.*.zip"
;
then
elif
echo
"
$TAR
"
|
grep
-q
"Pantum%20Ubuntu%20Driver%20V.*.zip"
;
then
erc
"
$TAR
"
||
fatal
erc
"
$TAR
"
||
fatal
...
@@ -19,7 +20,6 @@ else
...
@@ -19,7 +20,6 @@ else
fatal
"We support only Pantum Ubuntu Driver V.*.zip"
fatal
"We support only Pantum Ubuntu Driver V.*.zip"
fi
fi
rm
-v
"
$TAR
"
# drop dirname with spaces
# drop dirname with spaces
mv
Pantum
*
PantumDriver
||
fatal
mv
Pantum
*
PantumDriver
||
fatal
cd
PantumDriver/Resources
||
fatal
cd
PantumDriver/Resources
||
fatal
...
...
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