]> sourceware.org Git - lvm2.git/commitdiff
Ensure fsadm.sh is executable
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 19 Sep 2011 15:54:15 +0000 (15:54 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 19 Sep 2011 15:54:15 +0000 (15:54 +0000)
When the srcdir == builddir we get the link on non-exectable file.
So make always sure fsadm.sh is executable script file.

Add cleanup target for lib/fsadm.

test/Makefile.in

index fdae4d1e1ebac591a0febdcb81d6e7a002c674a4..16b34c6733dbe8a29f6140ed5e5883f15043241c 100644 (file)
@@ -101,6 +101,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
        ln -fs "$(abs_top_builddir)/daemons/dmeventd/dmeventd" lib/dmeventd
        ln -fs "$(abs_top_builddir)/daemons/lvmetad/lvmetad" lib/lvmetad
        ln -fs "$(abs_top_builddir)/scripts/vgimportclone.sh" lib/vgimportclone
+       chmod +x "$(abs_top_builddir)/scripts/fsadm.sh"
        ln -fs "$(abs_top_builddir)/scripts/fsadm.sh" lib/fsadm
        touch $@
 
@@ -109,6 +110,6 @@ clean:
        if test "$(srcdir)" != . ; then rm -f $(subst $(srcdir)/, ,$(RUN)) lvm2app.sh ; fi
 
 CLEAN_TARGETS += .lib-dir-stamp .test-stamp $(LIB) \
-       lib/dmsetup lib/clvmd lib/dmeventd lib/vgimportclone
+       lib/dmsetup lib/clvmd lib/dmeventd lib/vgimportclone lib/fsadm
 
 .NOTPARALLEL:
This page took 0.072392 seconds and 5 git commands to generate.