From ac9a157ba2a6a958553ce1a5516ba33320e88137 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 17 Mar 2006 15:32:14 +0000 Subject: [PATCH] Absolute path feature for packit --- commands/scripts/packit.sh | 5 ++++- commands/scripts/packme.sh | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/commands/scripts/packit.sh b/commands/scripts/packit.sh index afe2ba4ad..ecbfda16f 100644 --- a/commands/scripts/packit.sh +++ b/commands/scripts/packit.sh @@ -13,7 +13,10 @@ fi dir=`pwd` if [ "$1" = "-" ] then f="" -else f=$dir/$1 +else case "$1" in + /*) f="$1" ;; + *) f="$dir/$1" ;; + esac fi set -e diff --git a/commands/scripts/packme.sh b/commands/scripts/packme.sh index 7578656f7..a83728114 100644 --- a/commands/scripts/packme.sh +++ b/commands/scripts/packme.sh @@ -43,12 +43,13 @@ then pack=${cddrive}p2 then echo "Installing $srcarc into $SRC." smallbunzip2 -dc "$srcarc" | (cd $SRC && tar xf - ) fi + else : fi fi done else echo "CD mount failed - skipping CD packages." fi -else echo "Don't know where the install CD is." +else echo "Don't know where the install CD is. You can set it in $RC." fi TMPF=/tmp/list.$$ -- 2.44.0