Absolute path feature for packit

This commit is contained in:
Ben Gras 2006-03-17 15:32:14 +00:00
parent d2e0cbc872
commit ac9a157ba2
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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.$$