Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
212
Issues
212
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
2f5796b8
Commit
2f5796b8
authored
Sep 29, 2017
by
Guillaume Pasero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PKG: error in pkgsetup script
parent
dfa5e37b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Packaging/Files/linux_pkgsetup.in
Packaging/Files/linux_pkgsetup.in
+2
-2
Packaging/Files/macx_pkgsetup.in
Packaging/Files/macx_pkgsetup.in
+2
-2
No files found.
Packaging/Files/linux_pkgsetup.in
View file @
2f5796b8
...
...
@@ -21,8 +21,8 @@
set
-e
# verify basic tools are here
which
2>/dev/null
||
ret
=
$?
if
[
!
$ret
-eq
0
]
;
then
echo
"ERROR: Missing tool 'which'"
;
exit
1
;
fi
which
sh
>
/dev/null 2>&1
||
ret
=
$?
if
[
!
-z
"
$ret
"
]
;
then
echo
"ERROR: Missing tool 'which'"
;
exit
1
;
fi
for
tool
in
dirname
find file
grep cut sed chmod cat readlink
;
do
if
[
-z
"
$(
which
$tool
)
"
]
;
then
echo
"ERROR: Missing tool '
${
tool
}
'"
...
...
Packaging/Files/macx_pkgsetup.in
View file @
2f5796b8
...
...
@@ -21,8 +21,8 @@
set
-e
# verify basic tools are here (install_name_tool is specific macOS)
which
2>/dev/null
||
ret
=
$?
if
[
!
$ret
-eq
0
]
;
then
echo
"ERROR: Missing tool 'which'"
;
exit
1
;
fi
which
sh
>
/dev/null 2>&1
||
ret
=
$?
if
[
!
-z
"
$ret
"
]
;
then
echo
"ERROR: Missing tool 'which'"
;
exit
1
;
fi
for
tool
in
dirname
find file
grep cut sed chmod cat readlink
install_name_tool
;
do
if
[
-z
"
$(
which
$tool
)
"
]
;
then
echo
"ERROR: Missing tool '
${
tool
}
'"
...
...
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