summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 11913748..963605ea 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,6 @@ WIZ = common\
all:
-
# installs all the wizards...
install:
@@ -31,8 +30,7 @@ install:
$(MAKE) -C $$l $@; \
done
find ${prefix}/share/wizards -regex ".*\.wiz$$\|.*.pm$$\|.*\.sh$$" -exec \
- perl -pi -e "s|__WIZ_HOME__|/usr/share/wizards|g" \{\} \;
-
+ perl -i -pe "s|__WIZ_HOME__|/usr/share/wizards|g" \{\} \;
clean:
$(MAKE) -C po $@
@@ -57,4 +55,4 @@ test: clean_test
cp -r $(WIZ) test
cp Wizard.dtd Makefile drakwizard.pl drakwizard.spec test
find test -regex ".*\.wiz$$\|.*\.pm$$\|.*\.sh$$" -exec \
- perl -pi -e "s|__WIZ_HOME__|$(PWD)/test|g" \{\} \;
+ perl -i -pe "s|__WIZ_HOME__|$(PWD)/test|g" \{\} \;