projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f481b
)
scripts,ipkg-build: use realpath for pkg_dir
author
Paul Spooren
<mail@aparcar.org>
Thu, 4 Feb 2021 23:49:02 +0000
(13:49 -1000)
committer
Paul Spooren
<mail@aparcar.org>
Mon, 15 Mar 2021 05:32:30 +0000
(19:32 -1000)
This allows manual execution of the ipkg-build script even with
releative path.
Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/ipkg-build
patch
|
blob
|
history
diff --git
a/scripts/ipkg-build
b/scripts/ipkg-build
index 8533c97fccb3229a0bf651ee4e964cea1760718c..c112270a2bc6b2b18eeca9f7659db7b218a2b946 100755
(executable)
--- a/
scripts/ipkg-build
+++ b/
scripts/ipkg-build
@@
-124,7
+124,7
@@
case $# in
;;
esac
-pkg_dir="$
1
"
+pkg_dir="$
(realpath "$1")
"
if [ ! -d "$pkg_dir" ]; then
echo "*** Error: Directory $pkg_dir does not exist" >&2