]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Don't create links for tools if directory does not exist
authorKacper Kornet <draenog@pld-linux.org>
Sat, 4 Aug 2012 16:36:00 +0000 (17:36 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Sat, 4 Aug 2012 16:38:12 +0000 (17:38 +0100)
builder.sh

index c36749fbbcb6e6fa0b2c99b01404254078ff2512..35b070e6a214abf185175002b49dd5a27f39a9b0 100755 (executable)
@@ -908,7 +908,7 @@ get_spec() {
                fi
 
                # create symlinks for tools
-               if [ "$SYMLINK_TOOLS" != "no" ]; then
+               if [ "$SYMLINK_TOOLS" != "no" -a -d "$ASSUMED_NAME" ]; then
                        for a in dropin md5 adapter builder {relup,compile,repackage,rsync,pearize}.sh pldnotify.awk; do
                                # skip tools that don't exist in top dir
                                [ -f $a ] || continue
This page took 0.037148 seconds and 4 git commands to generate.