]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- make creating symlinks to tools configurable
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 29 Apr 2009 10:06:58 +0000 (10:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.577

builder.sh

index 65cd9cb88482af5ae9dff3ebc6d310de4cd40e44..f8144f2ea2b2e0aa14c1f7a7047a0bad52fb0670 100644 (file)
@@ -82,6 +82,7 @@ RPMOPTS=""
 RPMBUILDOPTS=""
 BCOND=""
 GROUP_BCONDS="no"
+SYMLINK_TOOLS="yes"
 
 PATCHES=""
 SOURCES=""
@@ -695,11 +696,13 @@ get_spec() {
                        rm "$ASSUMED_NAME/CVS/Entries.Static"
 
                        # create symlinks for tools
-                       for a in dropin md5 adapter builder {relup,compile,repackage}.sh; do
-                               [ -f $a ] || continue
-                               ln -s ../$a $ASSUMED_NAME
-                               cvsignore_df $a
-                       done
+                       if [ "$SYMLINK_TOOLS" != "no" ]; then
+                               for a in dropin md5 adapter builder {relup,compile,repackage}.sh; do
+                                       [ -f $a ] || continue
+                                       ln -s ../$a $ASSUMED_NAME
+                                       cvsignore_df $a
+                               done
+                       fi
                fi
        fi
 
This page took 0.036721 seconds and 4 git commands to generate.