Commit 22aa3a9b authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Change exec for a loop

parent f01418b7
Pipeline #1878 passed with stages
in 54 minutes and 41 seconds
......@@ -38,9 +38,12 @@ fi
# Push package
echo "Renaming binary packages"
find build_packages/. -name "*.run" \
-exec sh -c 'mv "$1" "${1%.run}${pack_suffix}.run"' _ {} \;
# find build_packages/. -name "*.run" \
# -exec sh -c 'mv "$1" "${1%.run}${pack_suffix}.run"' _ {} \;
for name in $(find build_packages/. -name "*.run")
do
mv "$name" "${name%.run}${pack_suffix}.run"
done
# TO REMOVE
###########
ls -all build_packages/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment