diff options
| author | Chris Lumens <clumens@redhat.com> | 2010-03-04 14:12:12 -0500 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2010-04-06 13:14:53 -0400 |
| commit | c99d7db62dcc2f5f0684e9321c0bcd357ec2dfa6 (patch) | |
| tree | 5eb801db24122cebff7b60d3a97d21ae5ce03dd4 /scripts/getkeymaps | |
| parent | df883346e29bf732f5bebbe71ed4a41d8492df49 (diff) | |
Adjust paths that reference things that have moved.
Diffstat (limited to 'scripts/getkeymaps')
| -rwxr-xr-x | scripts/getkeymaps | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/getkeymaps b/scripts/getkeymaps index 8436900fc..137ae5ee4 100755 --- a/scripts/getkeymaps +++ b/scripts/getkeymaps @@ -24,6 +24,12 @@ if [ -z "$ARCH" ]; then exit 1 fi +if [ "$ARCH" = "x86_64" -o "$ARCH" = "s390x" -o "$ARCH" = "ppc64" ]; then + LIBDIR=lib64 +else + LIBDIR=lib +fi + TOPDIR=`pwd` OUTPUT=$2 if [ -z "$OUTPUT" ]; then @@ -36,8 +42,8 @@ if [ -z "$UTILDIR" ]; then READMAP=../utils/readmap MAPSHDR=$TOPDIR/../utils/mapshdr else - READMAP=$UTILDIR/usr/lib/anaconda-runtime/readmap - MAPSHDR=$UTILDIR/usr/lib/anaconda-runtime/mapshdr + READMAP=$UTILDIR/usr/libexec/anaconda/readmap + MAPSHDR=$UTILDIR/usr/libexec/anaconda/mapshdr fi TMP=${TMPDIR:-/tmp}/keymaps.$$ |
