summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index b9eb2ac..fa80210 100755
--- a/configure
+++ b/configure
@@ -23,8 +23,7 @@ package_name='opkbuild'
package_version='3.0.0'
package_description='OPK Build System'
-srcdir=$(dirname "${0}")
-srcdir=$(cd ${srcdir} && pwd)
+srcdir="$(cd "${0%/*}" && pwd)"
prefix='/usr/local'
bindir='$(prefix)/bin'
libdir='$(prefix)/lib'