mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
cf: Move DEST assignment
The DEST variable depends on the sysname, so move the assignment of the DEST variable to the end of the OPENAFS_SYSNAME macro which is where the sysname value is determined. Also fix the test for an empty DEST variable, which put the dummy 'x' after the variable, not before, to guard against values that start with a dash. Change-Id: Iaf8deefc685a6c9b9897d83b25b8919792847796 Reviewed-on: https://gerrit.openafs.org/15821 Reviewed-by: Mark Vitale <mvitale@sinenomine.net> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Cheyenne Wills <cwills@sinenomine.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
64a3f42c62
commit
7b4c1e43b5
@ -444,4 +444,11 @@ case $AFS_SYSNAME in
|
||||
AFS_PARAM=param.${AFS_SYSNAME}.h
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Set the `make dest` target destination path.
|
||||
#
|
||||
if test "x${DEST}" = "x"; then
|
||||
DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
|
||||
fi
|
||||
])
|
||||
|
@ -14,7 +14,4 @@ esac
|
||||
TOP_OBJDIR="${SRCDIR_PARENT}"
|
||||
TOP_INCDIR="${SRCDIR_PARENT}/include"
|
||||
TOP_LIBDIR="${SRCDIR_PARENT}/lib"
|
||||
if test "${DEST}x" = "x"; then
|
||||
DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
|
||||
fi
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user