diff --git a/bin/rbpkg_bootstrap b/bin/rbpkg_bootstrap
index f8ae21a..ca5f01a 100755
--- a/bin/rbpkg_bootstrap
+++ b/bin/rbpkg_bootstrap
@@ -56,12 +56,12 @@ mkdir -p "${RBPKG_DIR}/etc"
cat <<EOF
# rbpkg
-: \${RBPKG_DIR:=${RBPKG_DIR}}
+: \${RBPKG_DIR:=$(cd "${RBPKG_DIR}" && pwd)}
export RBPKG_DIR
# runtime
-export PATH="\${RBPKG_DIR}/bin:$PATH"
+export PATH="\${RBPKG_DIR}/bin:\${PATH}"
export LD_LIBRARY_PATH="\${RBPKG_DIR}/lib:${LD_LIBRARY_PATH}"
# compile time