mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
19 lines
638 B
Diff
19 lines
638 B
Diff
Description: use isAbsPath() for Debian instead of pathhelper.
|
|
pathhelper uses abs_path and returns undef for non-existent path.
|
|
Author: Fathi Boudra <fabo@debian.org>
|
|
---
|
|
configure | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -58,7 +58,7 @@ isAbsPath() {
|
|
# maemo we do not want to follow symbolic links that are
|
|
# introduced by scratchbox
|
|
absPath() {
|
|
- if [ "$2" = "maemo5" -o "$2" = "maemo6" -o "$2" = "meego" ]; then
|
|
+ if [ "$2" = "maemo5" -o "$2" = "maemo6" -o "$2" = "meego" -o "$2" = "" ]; then
|
|
if [ `isAbsPath $1` = '1' ]; then
|
|
echo $1;
|
|
else
|