Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
201b689b
Commit
201b689b
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
no longer needed.
parent
af40e0ce
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build/README-unproto
+0
-3
0 additions, 3 deletions
build/README-unproto
build/uname.sh
+0
-109
0 additions, 109 deletions
build/uname.sh
build/version
+1
-1
1 addition, 1 deletion
build/version
with
1 addition
and
113 deletions
build/README-unproto
deleted
100644 → 0
+
0
−
3
View file @
af40e0ce
The unproto code was obtained from:
ftp://ftp.win.tue.nl/pub/unix/unproto5.shar.Z
This diff is collapsed.
Click to expand it.
build/uname.sh
deleted
100644 → 0
+
0
−
109
View file @
af40e0ce
#!/bin/sh
# simple BSD-like uname replacement for those systems without it
#
# Copyright (c) 1995 The Regents of the University of Michigan
#
#
# if /bin/uname or /usr/bin/uname exists, just use it
# ...unless we are on SCO, where the provided uname is bad
#
if
[
!
-f
/usr/bin/swconfig
]
;
then
if
[
-f
/bin/uname
]
;
then
exec
/bin/uname
$*
fi
if
[
-f
/usr/bin/uname
]
;
then
exec
/usr/bin/uname
$*
fi
fi
#
# flags to keep track of what to output
#
PRINT_SYSTEM
=
0
PRINT_VERSION
=
0
PRINT_RELEASE
=
0
#
# process arguments
#
USAGE
=
"usage:
$0
[-s] [-v] [-r]"
while
[
$#
!=
0
]
;
do
case
"
$1
"
in
-s
)
PRINT_SYSTEM
=
1
;;
-v
)
PRINT_VERSION
=
1
;;
-r
)
PRINT_RELEASE
=
1
;;
*
)
echo
"
$USAGE
"
exit
1
;;
esac
shift
done
#
# print system name by default
#
if
[
$PRINT_VERSION
=
"0"
-a
$PRINT_RELEASE
=
"0"
]
;
then
PRINT_SYSTEM
=
1
fi
#
# default to unknown everything...
#
SYSTEM
=
"Unknown-System"
VERSION
=
"Unknown-Version"
RELEASE
=
"Unknown-Release"
#
# check to see if we are on a machine that runs NextSTEP or SCO
#
if
[
-r
/NextApps
]
;
then
SYSTEM
=
"NeXTSTEP"
elif
[
-f
/usr/bin/swconfig
]
;
then
SYSTEM
=
"SCO"
fi
#
# output requested information
#
OUTPUT
=
0
if
[
$PRINT_SYSTEM
=
"1"
]
;
then
echo
-n
"
$SYSTEM
"
OUTPUT
=
1
fi
if
[
$PRINT_VERSION
=
"1"
]
;
then
if
[
$OUTPUT
=
"1"
]
;
then
echo
-n
"
$VERSION
"
else
echo
-n
"
$VERSION
"
OUTPUT
=
1
fi
fi
if
[
$PRINT_RELEASE
=
"1"
]
;
then
if
[
$OUTPUT
=
"1"
]
;
then
echo
-n
"
$RELEASE
"
else
echo
-n
"
$RELEASE
"
OUTPUT
=
1
fi
fi
echo
exit
0
This diff is collapsed.
Click to expand it.
build/version
+
1
−
1
View file @
201b689b
1.
0.1
1.
1-devel
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment