Commits

Michał Górny committed e77bb28

Create tests/python-exec from already substituted python-exec.

Rather than repeating the 'major' substitution code twice.

Comments (0)

Files changed (1)

 	chmod a-w,a+x $@.tmp
 	mv $@.tmp $@
 
-tests/python-exec: src/python-exec.in
+tests/python-exec: python-exec
 	$(MKDIR_P) tests
 	rm -f $@ $@.tmp
-	@SED@ -e "s|[@]bindir@|.|" $< > $@.tmp
+	@SED@ -e "s|${bindir}|.|" $< > $@.tmp
 	chmod a-w,a+x $@.tmp
 	mv $@.tmp $@