gen-inline-pixbufs.sh (211B)
1 #! /bin/sh 2 3 prefix=stock_ 4 list= 5 6 for file in "$@"; do 7 name=$(echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||') 8 list="$list $prefix$name $file" 9 done 10 11 gdk-pixbuf-csource --raw --static --build-list $list