Skip to content

Instantly share code, notes, and snippets.

@zclongpop123
Created June 27, 2024 13:54
Show Gist options
  • Save zclongpop123/5b3096e342463035ced2f214a6e44c32 to your computer and use it in GitHub Desktop.
Save zclongpop123/5b3096e342463035ced2f214a6e44c32 to your computer and use it in GitHub Desktop.
build.sh
current_dir=$(pwd)
while IFS= read -r line; do
for pkg in $(ls $line/*/package.py); do
pkg_dir=$(dirname $pkg)
cd $pkg_dir
echo $pkg
cd $current_dir
done
done < 1.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment