aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-07-22 16:07:36 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-07-22 16:07:36 +0300
commit3ac72b91f69c1cdfb61babb1ae3dbc69e2065eac (patch)
treed413fdc09f84636afcef5139f5a88b3c48a73d6a
parent3a7a1820d4cecbd77c7b74c785af5942510bf080 (diff)
downloadcpio-3ac72b91f69c1cdfb61babb1ae3dbc69e2065eac.tar.gz
cpio-3ac72b91f69c1cdfb61babb1ae3dbc69e2065eac.tar.bz2
Fix bootstrapping.
* bootstrap (symlink_to_dir): Fix symlink calculation.
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index bad2ada..11c5693 100755
--- a/bootstrap
+++ b/bootstrap
@@ -416,6 +416,7 @@ symlink_to_dir()
/*) ;;
*)
case /$dst/ in
+ /./*) ;;
*//* | */../* | */./* | /*/*/*/*/*/)
echo >&2 "$0: invalid symlink calculation: $src -> $dst"
exit 1;;

Return to:

Send suggestions and report system problems to the System administrator.