]> TLD Linux GIT Repositories - packages/rpm-build-tools.git/blobdiff - builder
- by default create symlinks for tools
[packages/rpm-build-tools.git] / builder
diff --git a/builder b/builder
index 4023652e71a3bdbbdeea587befd1431c7a05367c..2be0369bbc4b64efbda90c9cdd23d4397e803650 100755 (executable)
--- a/builder
+++ b/builder
@@ -94,7 +94,7 @@ BCOND=""
 GROUP_BCONDS="no"
 
 # create symlinks for tools in PACKAGE_DIR, see get_spec()
-SYMLINK_TOOLS="no"
+SYMLINK_TOOLS="yes"
 
 PATCHES=""
 SOURCES=""
@@ -890,7 +890,7 @@ find_mirror() {
        cd "$REPO_DIR"
        local url="$1"
        if [ ! -f "mirrors"  ] ; then
-               ln -s rpm-build-tools/mirrors .
+               ln -s scripts/mirrors .
        fi
 
        IFS="|"
@@ -1968,11 +1968,11 @@ init_rpm_dir() {
        mkdir -p $TOP_DIR $rpmdir $buildir $srpmdir
 
        cd "$TOP_DIR"
-       if [ ! -e ../rpm-build-tools ]; then
-               git clone  ${GIT_SERVER}:${PACKAGES_DIR}/rpm-build-tools.git ../rpm-build-tools
+       if [ ! -e ../scripts ]; then
+               git clone  ${GIT_SERVER}:${PACKAGES_DIR}/scripts.git ../scripts
        fi
        for a in dropin md5 adapter builder mirrors {relup,compile,repackage,pearize}.sh pldnotify.awk; do
-               ln -s ../rpm-build-tools/$a .
+               ln -s ../scripts/$a .
        done
        init_builder
 }