diff options
author | Paul Spooren <mail@aparcar.org> | 2021-02-04 13:49:02 -1000 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-03-14 19:32:30 -1000 |
commit | bb95be9265a9e3eb71c4f50b5f289a75683405d4 (patch) | |
tree | cd34f1e6117d7eff181233654d9b3af67532a216 /scripts/ipkg-build | |
parent | 72f481b1579e844d25ca71ec72b2fa377d961f04 (diff) | |
download | upstream-bb95be9265a9e3eb71c4f50b5f289a75683405d4.tar.gz upstream-bb95be9265a9e3eb71c4f50b5f289a75683405d4.tar.bz2 upstream-bb95be9265a9e3eb71c4f50b5f289a75683405d4.zip |
scripts,ipkg-build: use realpath for pkg_dir
This allows manual execution of the ipkg-build script even with
releative path.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'scripts/ipkg-build')
-rwxr-xr-x | scripts/ipkg-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build index 8533c97fcc..c112270a2b 100755 --- 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 |