the example*.sh files should now also use the native binary, only when we use the packaging we need to use .bin

This commit is contained in:
philsmd
2016-01-03 18:34:38 +01:00
parent f9dd03eb79
commit 23db5c9737
4 changed files with 12 additions and 4 deletions

View File

@@ -24,12 +24,20 @@ cp -r $IN/rules $OUT/
cp -r $IN/extra $OUT/
cp $IN/example.dict $OUT/
cp $IN/example[0123456789]*.hash $OUT/
cp $IN/example[0123456789]*.sh $OUT/
cp $IN/example[0123456789]*.cmd $OUT/
cp -r $IN/include $OUT/
cp -r $IN/OpenCL $OUT/
# since for the binary distribution we still use .bin, we need to rewrite the commands
# within the example*.sh files
for example in example[0123456789]*.sh; do
sed 's!./oclHashcat !./oclHashcat64.bin !' $IN/${example} > $OUT/${example}
done
dos2unix $OUT/rules/*.rule
dos2unix $OUT/rules/hybrid/*.rule
dos2unix $OUT/docs/*