mirror of
https://github.com/webmin/webmin.git
synced 2026-06-02 11:20:30 +01:00
fake tar only for makedist.pl
This commit is contained in:
@@ -232,6 +232,7 @@ fi
|
||||
cp authentic-theme/LICENSE ${TEMP}/authentic-theme
|
||||
# put dummy clear and tar in PATH
|
||||
echo -e "#!/bin/sh\necho" > ${TEMP}/clear; chmod +x ${TEMP}/clear
|
||||
echo -e "#!/bin/sh\necho" > ${TEMP}/tar; chmod +x ${TEMP}/tar
|
||||
export PATH="${TEMP}:${PATH}"
|
||||
# run makedist.pl
|
||||
( cd ${TEMP}; perl makedist.pl ${DOTVER} ) | while read input; do echo -n "."; done
|
||||
@@ -241,6 +242,7 @@ fi
|
||||
rm -rf .~files
|
||||
exit 5
|
||||
fi
|
||||
rm -rf ${TEMP}/tar
|
||||
|
||||
# check for additional standard modules not in default dist
|
||||
for module in `ls */module.info`
|
||||
|
||||
Reference in New Issue
Block a user