convert GITDIR over to REPO_DIR
The variables were representing the same thing, so merge them.
This commit is contained in:
parent
170331ecea
commit
d4e6ae0019
43 changed files with 76 additions and 78 deletions
|
@ -161,7 +161,6 @@ fi
|
|||
|
||||
# Probe the default source dir from this script name.
|
||||
REPO_DIR=$(dirname "$(dirname "$(realpath "$0")")")
|
||||
GITDIR=${REPO_DIR}
|
||||
|
||||
# Set up defaults that config files can override if they want.
|
||||
SUBARCH=$(uname -m)
|
||||
|
@ -273,7 +272,6 @@ for i in $(find -name '*.spec'); do
|
|||
# Expand vars that the spec expects us to.
|
||||
sed -i \
|
||||
-e "s:@DATESTAMP@:${DATESTAMP}:g" \
|
||||
-e "s:@GITDIR@:${GITDIR}:g" \
|
||||
-e "s:@REPO_DIR@:${REPO_DIR}:g" \
|
||||
"${i}"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue